Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

SP to enable, disable or list all Triggers in  DB

By TimS,

SQL 7.0 and 2000 modified version of Rodrigo Acosta (racosta) Argentina Script that enable,disable or list all the Triggers in the given database. If enable or disable are specified, finds all the triggers of all the tables and enable or disable them, After that, it list all the triggers with it´s current state. If List is specified, then it only list the triggers with it current state.
Lots Credit to Rodrigo Acosta for his work.

Tim S

Total article views: 149 | Views in the last 30 days: 1
Related Articles

Disable and enable trigger

Disable and enable trigger


Enable Disable All Triggers in a Database

Enable Disable All Triggers in a Database


Using DMO to Enable and Disable Triggers

This short article shows you how to use SQL-DMO to enable or disable all the triggers in a database....


Need to get list of disable and enable triggers from server

Need to get list of disable and enable triggers


SQL Server 2000 Triggers

Disabled/enabled triggeres