Categories
Is there a way to select the code of all triggers?
Is there a way to select the code of all triggers in the database, rather than selecting one at a time? SQL> select dbms_metadata.get_ddl('TRIGGER','trigger_name','owner') from dual;
Answer the question
In order to leave comments, you need to log in
Lots of options. Let's start with a simple one, if for some reason this is not enough - specify the task.
SELECT DBMS_METADATA.GET_DDL('TRIGGER', trigger_name, owner) FROM dba_triggers;
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question