Site icon Database Tutorials

Break and Continue Statements in SQL Server(TSQL)

 

BREAK Statement:

You may want to terminate while loop by using the BREAK statement. You can use it as follows.

Continue Statement:

Usually used with the Break Statement. It is used to restart While Loop. You can use it as follows.

Exit mobile version