Skip to content
Advertisement

Need to list all triggers in SQL Server database with table name and table’s schema

I need to list all triggers in SQL Server database with table name and table’s schema.

I’m almost there with this:

I just need to get the table’s schema also.

Advertisement

Answer

Here’s one way:

EDIT: Commented out join to sysusers for query to work on AdventureWorks2008.

EDIT 2: For SQL 2000

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement