May 24, 2005 at 3:30 am
Hi,
Anyone know how I can find out whether a trigger is enabled/disabled or not without using DMO?
I would have assumed that sp_helptrigger would give the answer...but no.
Thanks in advance!
Jamie Thomson
http://sqlblog.com/blogs/jamie_thomson
May 24, 2005 at 3:53 am
SELECT OBJECTPROPERTY(OBJECT_ID('tigger_name'), 'ExecIsTriggerDisabled')
May 24, 2005 at 3:59 am
Brill. Thanks Chris.
I might ask MS if they can include this in sp_helptrigger
Jamie Thomson
http://sqlblog.com/blogs/jamie_thomson
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply