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
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Triggers

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-03-31 : 08:44:35
ifergus writes "Can the same trigger on a table fire in parallel? In other words, if several users issue a DELETE at the same time, and there is a complex trigger that performs audit logging , etc. Will the transactions be fired sequentially? Or can the same trigger actually be fired in concurrently?"

samsekar
Constraint Violating Yak Guru

437 Posts

Posted - 2004-03-31 : 09:32:58
From BOL :
A trigger is a special type of stored procedure that is automatically invoked whenever the data in the table is modified....The trigger and the statement that fires it are treated as a single transaction that can be rolled back from within the trigger. If a severe error is detected, the entire transaction automatically rolls back.

- Sekar
Go to Top of Page
   

- Advertisement -