Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Trigger question
Fri, Apr 17 2009 10:28 AMPermanent Link

"James Relyea"
If I start a transaction in a stored proc, add a new record that fires a
trigger will the trigger's actions be part of the transaction as well? If
so, for ACID purposes everything should be rolled back or committed properly
then, right? Nested transactions are not supported too, correct?

Probably a newbie question but there is 1 other DB who's triggers are
independent of transactions.

Thanks

Smile
jr

Fri, Apr 17 2009 1:01 PMPermanent Link

Fernando Dias

Team Elevate Team Elevate

James,

> If I start a transaction in a stored proc, add a new record that fires a
> trigger will the trigger's actions be part of the transaction as well?

Yes. A rollback will also undo the actions executed inside the trigger.

> Nested transactions are not supported too, correct?

Correct.

--
Fernando Dias
[Team Elevate]
Image