How to detect and recognize an error returned by Stored Procedures on SQL Server.

  • Thread starter Thread starter ab
  • Start date Start date
No try-catch available in vbscript (I don't think). Any errors thrown
from SQL Server should bubble up to your code without any special work
from you.

However, if you don't have an "on error goto somelabel" then your code
will try to continue until it finally hits a fatal error. Now my ASP
is a bit rusty but I'm pretty sure thats how it works. Hope this
helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top