Personally, I would script the trigger, then drop it do what you need to do and the run the script to put the trigger back on.
I also would probably only do this when in single user mode or when I knew no users would be entering or deleting data because if they entered something while the trigger didn't exist, the triggering action wouldn't happen which could have bad implications for your data integrity.
Another choice is to put if statements in the trigger, so that the main processes of the trigger wouldn't happen under specific conditions.
Yeah I know all that, I just have this memory of seeing a way to disable it rather than drop it and it is bugging me. If course it may have been on a different platform.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.