ALTER TABLE ... ENABLE / DISABLE TRIGGER
toggles triggers on the table
What changes
- Input
- catalog
- Output or change
- trigger enabled state
Syntax at a glance
ALTER TABLE table { ENABLE | DISABLE } TRIGGER { ALL | trigger_name [ ,...n ] }
Work example
A reviewed maintenance task must change whether one table trigger runs.
Record why the trigger state changes and how missed side effects will be reconciled.
Check your work The trigger returns to the required state and a lab write confirms its behavior.
Open Microsoft Learn for full syntax, permissions, and details for your version.