View Single Post

   
  #1 (permalink)  
Old 02-29-2008, 07:47 AM
E B via SQLMonster.com
 
Posts: n/a
Default Handle SQL errors with severity 10

how to handle sql errors with severity less then 10 in .NET

i call to stored procedure which raise error with severity 10 for example
however in c# i can't cach this error (with severiry >= 11 it going to the
catch block in my c# app), also the @@ERROR is equal to zero when severity
<= 10

--
Message posted via http://www.sqlmonster.com
Reply With Quote