DBA Hub

📋Steps in this guide1/1

Disable/enable all triggers of schema

-----  Connect to the user and run this.

oracle configurationintermediate
by OracleDba
15 views
1

Disable/enable all triggers of schema

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
-----  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;
/

Comments (0)

Please to add comments

No comments yet. Be the first to comment!