There is no try...catch in sql server 2000 like in 2005? If not what is the equivalent for try...catch in 2000? If there is, what is the correct syntax?
there is no such thing in 2000...Checking @@error is your option and using XACT_ABORT
Here are two good links for you http://www.sommarskog.se/error-handling-II.html and http://www.sommarskog.se/error-handling-I.html both written by Erland Sommarskog
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With