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

Error Handling

Status
Not open for further replies.

elmo29

Programmer
Jul 28, 2000
50
GB
suppose I have the follwoing error

raiserror 50000 'Error Message'

This is in a sproc. I use this sproc within others to essentially return the same data each time, i.e. web site, view stats, now invoice

In the web site and stats I need this error to be raised, however in the invoice I would like to automate it, so although their are errors, in this case it would be acceptable and I would not like it to stop my schedule. Is there any form of error handling where I can catch this error and disregard it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top