This is a mirror of official site: http://jasper-net.blogspot.com/

Display DDL Triggers in your SQL Server Database

| Sunday, August 29, 2010
To display DDL Triggers in your database (SQL Server 2005/2008), use the sys.triggers catalog view as shown below:

-- Database-scoped DDL triggers in the current database
SELECT name as TriggerName, create_date as CreationDate, type_desc as [TriggerType(SQLorCLR)], is_disabled
FROM sys.triggers
WHERE parent_class_desc = 'DATABASE'
ORDER BY name

Read more: SQL Server curry

Posted via email from .NET Info

0 comments: