Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 RAISERROR

Author  Topic 

GoDaddy
Yak Posting Veteran

64 Posts

Posted - 2008-11-21 : 14:25:21
I'd like to raiserror in triggers. But don't really know what to pout as severity and state ....

What is the rule for those argument?

GoDaddy
Yak Posting Veteran

64 Posts

Posted - 2008-11-21 : 14:44:45
I was hoping to use raiserror so that the error goes by to the application. But it doesn't seem to work .... isn't the trigger executing on the same transaction?
Go to Top of Page

GoDaddy
Yak Posting Veteran

64 Posts

Posted - 2008-11-21 : 14:59:14
got it. It didn't bubble up because the severity i set was 10 which is informative and isn't bubble up.
Go to Top of Page
   

- Advertisement -