Hello Guys,
Help me,
How to throw custom exception in Stored Procedure?
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit ChoudharyPosted Jul 7, 2011, 5:05 AM
For more details of level of raising custom error message please go through the nice article here
Thanks.
kannan sPosted Jul 7, 2011, 4:53 AM
you can use RAISERROR in SP
RAISERROR('test exception',16,-1)
Thanks