SQL Clone
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)

Checks Triggers status on User- Databases.

By wali,


SQL Server 7.0 introduced a new class of functions that return a wide range of property information that isn't readily available in SQL Server 6.5 and earlier versions.
These functions have three general classes: TypeProperty, which returns information about a data type;
ObjectProperty, which returns information about objects in the current database; and ColumnProperty, which returns information about a column or procedure parameter.
Together, these classes include dozens of property values you can query for database objects. Base on these power full class of function, I have put to gether a stored procedure that searches through user databases and
identify all disabled triggers in a particular database:

Audience:  DBA / SA.

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

VBScript Class to Return Backup Information

The second article in a 3 part series that presents another VBScript class file that creates a class...


Find information about all databases

ALL database information


Transact-SQL query to obtain basic information about partitioned tables

Here is the simple query that returns basic information about all tables in a database that are part...


Database Information

this script returns some good information about databases on an instance of SQL SERVER.


How to be informed about a database creation in SQL 2000

informe the DBA about a database creation in SQL 2000