What command do you use to exit a loop SQL?

Man Ly

New member
What command do you use to exit a loop SQL?
Answer
SQL Server BREAK statement
overview
To exit the current iteration of a loop, you use the BREAK statement. In this syntax, the BREAK statement exit the WHILE loop immediately once the condition specified in the IF statement is met.
 

Tìm kiếm

Back
Top