Category Archives: SQL While loop

SQL While loop

While loop in SQL server

By | January 1, 2014

While loop in SQL server Introduction In While loop, we set a condition for the repeated execution of a Code block. So we use while loop in SQL Server to repeat execution of a SQL Code block or a SQL Statement till the condition in the while loop is satisfied. Once the condition is failed, the… Read More »