How to find a trigger is enabled / disabled. | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

How to find a trigger is enabled / disabled.

With the help of ALTER TABLE we can disable/Enable a trigger on a table.
But how can we find that the trigger is disabled/Enabled. Rushendra
select objectproperty(object_id(‘trigger_name’), ‘ExecIsTriggerDisabled’)
There is a list of properties regarding triggers that you can find in BOL. Bambola.

Thanks bambola. Rushendra
ObjectProperty function is one of the best invention in SQL 7 and fine tuned in SQL 2K with enhancements. _________
Satya SKJ
Moderator
SQL-Server-Performance.Com

]]>