Break
SQL Server BREAK statement overview In the previous tutorial, you have learned how to use the WHILE statement to create a loop. To exit the current iteration of a loop, you use the BREAK statement. The following illustrates the typical syntax…