Google News
logo
SQL Server - Quiz(MCQ)
Which of the following blocks are used for error handling in SQL Server?
A)
TRY…END
B)
TRY…CATCH
C)
TRY…FINAL
D)
CATCH…TRY

Correct Answer :   TRY…CATCH


Explanation : SQL Server 2005 introduced TRY…CATCH statement which helps us to handle the errors effectively in the back end.

Advertisement