Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update date to a current date in the event of value chan
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
01469101
Message ID:
01469341
Vues:
24
>...and as a follow-up, make sure you're not using recursive triggers...(by default, they're turned off)

Kevin,

Sorry to steal your instructor time for free, but out of curiosity... Would have it mattered if recursive was turned on? I would think that as the second call to the trigger there would be no records complying with WHERE Inserted.nStndCost # Deleted.nStndCost as the only field updated within the trigger was dStndCost, thus ending the trigger and the recursion with some overhead.
"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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform