Pro Programmer: Try...Catch

Saturday, August 25, 2012

Try...Catch

Errors in tsql can be processed by using a TRY…CATCH construct which contains two parts: a try block and a catch block. When an error condition is detected in a t-sql statement that is inside a try block, control is passed to a catch block where the error can be processed.

No comments:

Post a Comment