nested triggers Option

Use the nested triggers option to control whether an AFTER trigger can cascade; that is, perform an action that initiates another trigger, which initiates another trigger, and so on. When nested triggers is set to 0, AFTER triggers cannot cascade. When nested triggers is set to 1 (the default), AFTER triggers can cascade to as many as 32 levels. INSTEAD OF triggers can be nested regardless of the setting of this option.

The setting takes effect immediately, without a server restart.

In SQL Server 2000, any AFTER trigger nested inside an INSTEAD OF trigger does not fire when the nested triggers server configuration option is off. In SQL Server 2005 or later, the first AFTER trigger nested inside an INSTEAD OF trigger fires even if the nested triggers server configuration option is set to 0. However, under this setting, later AFTER triggers do not fire. We recommend that you review your applications for nested triggers to determine whether the applications still comply with your business rules with regard to this behavior when the nested triggers server configuration option is set to 0, and then make appropriate modifications.