Does a rollback inside a INSERT AFTER or UPDATE AFTER trigger rollback the entire transaction

Viewed 21505

Does a rollback inside a INSERT AFTER or an UPDATE AFTER trigger rollback the entire transaction or just the current row that is the reason for trigger, and is it same with Commit ?

I tried to check it through my current projects code which uses MSTDC for transactions, and it appears as if though the complete transaction is aborted.

If a Rollback in the trigger does rollback the entire transaction, is there a workaround for to restrict it just the current rows.

I found a link for sybase on this, but nothing on sql server

3 Answers
Related