6
Answers

Regarding Sql error code

Ravi Shekhar

Ravi Shekhar

10y
1k
1

I have a small question in my mind.

Suppose I make a big stored procedure in sql server and call this sp from c# application using ado.net.
if sp returns any error or exception now i want to get the actual error with error code in application end.

Please suggest how to do ??

Thanks in advance.

Answers (6)