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!

Disable Trigger??

Status
Not open for further replies.

aljubicic

Programmer
Nov 7, 2002
82
AU
Hi All,

Could anyone help me on how to disable a trigger on a Informix Dynamic Server Database. I am writing a Visual Basic Application however I need the Application to disable an Insert and Update trigger when it writes to this table. In MS SQL 7, I can disable a trigger using "ALTER TABLE", is there anything in Informix that can do the same thing or would I need to drop it and recreate it each time??

Thanks
Anthony
 
Hi,

You may use:

SET TRIGGERS trig_name ENABLED
SET TRIGGERS trig_name DISABLED

to put the object into on/off mode.

Regards,
Shriyan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top