Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Need to Reference The Value of @@error On an ASP Page

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-31 : 22:37:43
Scott Woodburn writes "I am writing a web application using stored SQL procedures with an ASP front end. My problem is that I want to return the value of @@error to the ASP page however I have thus far not been able to access its value. How can I do this?

thanks"

Nazim
A custom title

1408 Posts

Posted - 2002-03-31 : 23:46:19
if am not missing anything , this should help you

have a output param in your sp and assign it thru a select or a set command.

eg:
set @outparam=@@error



--------------------------------------------------------------
Go to Top of Page
   

- Advertisement -