Can we have Try catch in Sqlserver?

 Posted by Nishithraj on 1/5/2010 | Category: Sql Server Interview questions | Views: 4657
Answer:

Yes we can have Try catch statements in Sqlserver from SQLServer 2005


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: jossitec-15901 on: 11/24/2012 | Points: 10
BEGIN TRY
{ sql_statement | statement_block }
END TRY
BEGIN CATCH
[ { sql_statement | statement_block } ]
END CATCH

Login to post response