How to use Loop in SQL Server

Published --