Google News
logo
SQL Server - Quiz(MCQ)
Which of the following two Transact-SQL statements are commonly used with WHILE?
A)
BREAK and CONTINUE
B)
IF and ELSE
C)
BREAK and IF
D)
All of the above

Correct Answer :   BREAK and CONTINUE


Explanation : The BREAK statement exits the innermost WHILE loop and the CONTINUE statement restarts a WHILE loop.

Advertisement