|
|
USE [YourDB]
SELECT
OBJECT_NAME(parent_id) AS TableName,
name AS TriggerName,
create_date AS CreationDate,
modify_date AS ModifyDate
FROM sys.triggers
I ran the query on the PUBS database and got the following results:
TableName TriggerName CreationDate ModifyDate
employee employee_insupd 2009-01-23 14:16:35.680 2009-01-23 14:16:35.680
Did you like this post?
|
|
|
||
|
|
|
|
|
|
|
subscribe via rss |
|
subscribe via e-mail |
|
|
print this post |
|
follow me on twitter |






comments
2 Responses to "Find Which Tables Have Triggers in SQL Server 2005/ 2008"thanks for giving great answer
Thanks
Post a Comment