Posted By: VBJB | Nov 14th, 2006 @ 11:59 AM
page 1 of 1
Comments: 2 | Views: 5103

If I have multiple triggers for an INSERT operation on a table. Is there a way to set the order of the triggers? Is there a way to say run this trigger before this one? I cannot combine the triggers.

You can set which trigger fires first and which fires last using sp_settriggerorder.  Any triggers between the first and last will fire in unspecified order.

See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_sp_sa-sz_6so9.asp

EDIT: VBJB beat me to it.
page 1 of 1
Comments: 2 | Views: 5103