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.
 
Back
Top