Interview Questions

In SQL Server 2005 T-SQL, what does the CONTINUE statement do?

Microsoft SQL Server FAQs


(Continued from previous question...)

In SQL Server 2005 T-SQL, what does the CONTINUE statement do?

Answer: Restarts a WHILE loop.

Explanation: This statement restarts a WHILE loop. Any statements inside the loop after the CONTINUE command are ignored and the test condition for the WHILE loop is reexecuted.

(Continued on next question...)

Other Interview Questions