Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

State of Trigger

Status
Not open for further replies.

LenardD

Programmer
Dec 1, 2002
35
CA

Is there a way to find out if the state of a trigger is turned on or off?

Thanks.

--Lenard
 
Terry once gave me the code for this:

SELECT OBJECTPROPERTY(OBJECT_ID('Trigger_Name'),
'ExecIsTriggerDisabled') will return 1 if the trigger is disabled - 0 if enabled.

Hope this helps.
 
Thanks MeanGreen! I will give it a try.

--Lenard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top