Home Forums Article Discussions Article Discussions by Author Discuss content posted by Sergiy Best Practice RE: Best Practice
Sergiy
SSC Guru
Points: 110206
More actions
September 5, 2008 at 5:41 pm
#868079
I always use IF EXISTS(select 1 from inserted) or deleted.
It allows not to run "insert" part of INSERT/UPDATE/DELETE trigger only when there are actually inserted rows.
_____________Code for TallyGenerator