I am using a SP to update rows in a table. Inside the SP i am checking for @@ERROR and returning the error number if any error occured or else returning 0. But when i execute the SP from .NET with erroneous data,it causes exception.
Is there a way to get the return code from the SP instead?
Regards,
Manjula
Is there a way to get the return code from the SP instead?
Regards,
Manjula