I am calling a SQL Server stored procedure from a C# .NET application using the System.Data.Odbc library. I want to be able to throw errors up to the calling application as I have been able to in the past with other drivers using raiserror or throw:
raiserror('message',18,0)
but the errors apparently aren't causing the SP to abandon execution and pass the error upwards.
Can anyone shed some light on this?
Thanks