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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I trap an error - cant get sp to stop breaking

Status
Not open for further replies.

metsey

Programmer
Joined
Mar 2, 2001
Messages
49
Location
US
I need to trap an error in @@error however the sp keeps breaking AT the error in Query Analyzer and will not continue on to the If @@error <> 0... statement which is the next line.

How do I suppress the break on error (which is no.245 security level 16) to trap the @@error number?

Please advise
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top