begin
for x in (select trigger_name trig from user_triggers order by trig) loop
execute immediate 'alter trigger '||x.trig||' disable';
end loop;
end;
/
PL/SQL procedure successfully completed.
Here is the confirmation that the above code disabled my triggers:
begin
for x in (select trigger_name trig from user_triggers order by trig) loop
execute immediate 'alter trigger '||x.trig||' enable';
end loop;
end;
/
Here is the confirmation that the triggers are re-enabled:
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.