Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instead of Update trigger
Message
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
01520382
Message ID:
01520459
Views:
40
>One advise:
>NEVER, NEVER program triggers with assumption that ONLY ONE record will be involved in their action.
>Remember, trigger fires after the whole batch is complete so in your INSERTED and/or DELETED tables you can have many records, not just one.

You are right, I like that in Oracle you can indeed make the trigger fire once for each record if you wish so.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform