SQL Server: check whether a Trigger is Enabled or Disabled?

后端 未结 3 923
渐次进展
渐次进展 2020-12-08 06:31

How we can see which Trigger is Enabled or Disabled in SQL Server 2008?

3条回答
  •  悲哀的现实
    2020-12-08 06:39

    In big databases you usually don't know the table for the trigger.

    SELECT OBJECT_NAME(parent_id) [table_name],[name] [trigger_name],is_disabled
    FROM sys.triggers 
    

提交回复
热议问题