fixthebug2003
Programmer
Hi,
Is there a concept of Mutating table in Triggers like we have in oracle triggers.
In Oracle, A mutating table is a table that is being modified by a DML. So for a Trigger, a Mutating table is the table on which the Trigger is written.And the rules are :
The SQL Stmts in a Trigger Body may not:
1.Read from or Modify any mutating table of the triggering stmt
2. Read from or Modify the primary, Unique or Foriegn Key Columns of a constraining table of the triggering table. They may modify the other columns if desired.
Is there any rules like this for Triggers in SQL Server 2000?
Fixthebug2003
Is there a concept of Mutating table in Triggers like we have in oracle triggers.
In Oracle, A mutating table is a table that is being modified by a DML. So for a Trigger, a Mutating table is the table on which the Trigger is written.And the rules are :
The SQL Stmts in a Trigger Body may not:
1.Read from or Modify any mutating table of the triggering stmt
2. Read from or Modify the primary, Unique or Foriegn Key Columns of a constraining table of the triggering table. They may modify the other columns if desired.
Is there any rules like this for Triggers in SQL Server 2000?
Fixthebug2003