I have a trigger on a table that should never be disabled. It performs certain checks and there have been occasions when other developers have disabled it to get around it. This is not good so I want to be able to turn off trigger disablement on this table alone. Is this possible? If not, any suggestions please. thanks.
WORKAROUND:
Seems from peeps responses that it’s not possible to prevent it. Maybe getting an alert would be suitable. This is a good article, shame it doesn’t work with EventData though. Maybe in 2008, this is resolved:
http://www.simple-talk.com/sql/database-administration/dml-trigger-status-alerts/
No. Disabling is an admin operation and as such can not be prevented. You can check whether triggers are disabled by code…. but not prevent disabling.
Makes sense, even for example for developers (during debugging).