Re: Error Handling Coming Out of a Trigger
- From: "Kevin Frevert" <kevin@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Jun 2007 13:03:29 -0500
Brian,
Try raising the exception, then rolling back the transaction.
krf
"Brian Hollister" <bhollisterATfuturaintlDOTcom> wrote in message
news:46795ad0$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have an after update trigger on a table. This trigger is used to help
enforce a business rule of not allowing a zero quantity.
I have the following code in the body of the trigger. I had expected that
it
would have caused an exception in the calling application; because i am
using the RAISERROR statement. I also tried several different severity
levels but none worked for me. I get nothing back at all, no message and
certainly no exception.
.
- Follow-Ups:
- Re: Error Handling Coming Out of a Trigger
- From: Brian Hollister
- Re: Error Handling Coming Out of a Trigger
- References:
- Error Handling Coming Out of a Trigger
- From: Brian Hollister
- Error Handling Coming Out of a Trigger
- Prev by Date: Re: Error Handling Coming Out of a Trigger
- Next by Date: Re: Error Handling Coming Out of a Trigger
- Previous by thread: Re: Error Handling Coming Out of a Trigger
- Next by thread: Re: Error Handling Coming Out of a Trigger
- Index(es):
Relevant Pages
|