Enabling and disabling triggers

StepsEnabling or disabling a trigger

  1. Select the trigger icon.

  2. Select File | Enable to enable the trigger.

  3. Select File | Disable to disable the trigger.

bcp and insert execute any triggers they encounter while they copy data into a table, which increases the amount of time it takes to perform the copy. For example, bcp switches from fast mode to slow mode to execute the trigger. Use the disable trigger option of the alter table command to disable any triggers associated with a table before you copy the data. You can use the disable trigger option to either disable all the triggers associated with the table, or you can specify a particular trigger to disable. However, any triggers you disable will not be executed after the copy is complete. If you require these triggers to insert, update, or delete any data, you manually execute them. If a trigger includes insert, update, or delete statements, these statements will not run while the trigger is disabled, which may affect the referential integrity of a table.

Permission

You must be the table owner or databse administrator to use the disable trigger feature.