Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error handling & use of BEGIN TRY ...BEGIN CATCH

Status
Not open for further replies.
Sep 5, 2001
136
GB
Hi,

I've just started using SQL2005 & I see that there is now a set of statements:

BEGIN TRY
...
END TRY
BEGIN CATCH
...
END CATCH

Has anybody got any tips/experience on the best way to use this?

I'm calling one procedure from inside another one & I want to get the transaction contol correct & I'm not sure how the two interact.

Did look for a FAQ but couldn't find one.


Thanks.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top