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
 New to SQL Server Programming
 custom exception

Author  Topic 

pnpsql
Posting Yak Master

246 Posts

Posted - 2012-02-27 : 05:40:25
hi team, i need to raise a conditional and custom exception in my t code please help.

challenge everything

sunitabeck
Master Smack Fu Yak Hacker

5155 Posts

Posted - 2012-02-27 : 06:53:11
Can you use RAISERROR? In client programs - for example, in .Net clients, you will see that as an exception (unwinding to the closest catch block), depending on the severity level. http://msdn.microsoft.com/en-US/library/ms178592(v=SQL.90).aspx
Go to Top of Page
   

- Advertisement -