Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Practices for Triggers?
Message
From
27/01/2003 12:36:25
 
 
To
27/01/2003 11:40:26
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00745811
Message ID:
00745859
Views:
22
I'd do a little as possible. The trigger code will be execute for each appropriate statement (INSERT, UPDATE, DELETE) no matter how many row are modifed (even zero) or what columns are modified.

-Mike

>Is there a recommendation as to how much is too much code to have in a trigger? For instance, if I need handle a bunch of conditional coding should that be handled in a trigger or is there a better place to do that?
>
>I've heard some SQL Server users that never use triggers at all.
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform