Disable/enable all triggers of schema
----- Connect to the user and run this.
oracle configurationintermediate
by OracleDba
15 views
----- Connect to the user and run this.
12345678
----- Connect to the user and run this.
BEGIN
FOR i IN (SELECT trigger_name
FROM user_triggers) LOOP
EXECUTE IMMEDIATE 'ALTER TRIGGER ' || i.trigger_name || ' DISABLE';
END LOOP;
END;
/Please to add comments
No comments yet. Be the first to comment!