D
David Carr
Hi there,
My SQL server 2000 stored procedures are generating different error codes.
I am able to view these error codes when I run the stored proc in Query
Analyzer. I am hoping to be able to obtain in my C# web service.
Specifically, I am using SqlCommand and SqlDataReader objects for executing
the stored procedure.
Is there a simply mechanism/method to call to obtain the return code? I
have seen some mention of the stored procedure having to stuff it into a
parameter - I am hoping that I don't have to modify each of my stored procs
to do that.
Thanks in advance,
David
My SQL server 2000 stored procedures are generating different error codes.
I am able to view these error codes when I run the stored proc in Query
Analyzer. I am hoping to be able to obtain in my C# web service.
Specifically, I am using SqlCommand and SqlDataReader objects for executing
the stored procedure.
Is there a simply mechanism/method to call to obtain the return code? I
have seen some mention of the stored procedure having to stuff it into a
parameter - I am hoping that I don't have to modify each of my stored procs
to do that.
Thanks in advance,
David