...
Enabling a Trigger in Microsoft SQL Server Management Studio
By enabling triggers that track changes are turned on or off for these tables. Most of these tables have a delete trigger with a name in the format of ‘XXXX_D_CDC’ where XXXX is the table name and an insert/update trigger in the form of ‘XXXX_IU_CDC’. Two tables make an exception to this rule and have 3 triggers, one for Insert, one for update and one for delete. They are tables SV00300 and SV00301.
To enable a trigger in Microsoft SQL Server Management Studio:
- Launch Microsoft SQL Server Management Studio.
- Expand Databases > your company database > Tables.
- Expand the appropriate table.
- Expand Triggers.
- Right-click on the XXXX_D_CDC trigger and select Enable. (This is the "delete" trigger.)
- Right-click on the XXXX_IU_CDC trigger and select Enable. (This is the "insert/update" trigger.)
Enabled Triggers Script
This script provides a list of all enabled scripts for a given company:
|
Enabled Triggers Query Results
...
If you need to enable triggers for a table not found in this list, run the following script to find the triggers for a given table not in the list and then go through Microsoft SQL Server Management Studio and manually enable the trigger:
|
Disabled Triggers Query Results
...