I want to extract ddl's for all objects(procedures, functions, triggers, packages) on a separate file as in thread:
http://www.dbforums.com/oracle/10226...ml#post3774835
I'm using
The result is a file but problem is that only first part of code are inserted.
I have tried to use set linesize and set long etc but I still cannot get the whole thing.
If I just execute
I get all 483 rows but if I spool it to file it only gives me first 116 rows.
Can someone help me please?
http://www.dbforums.com/oracle/10226...ml#post3774835
I'm using
Code:
Spool &1..&2..sql
Select dbms_metadata.get_ddl('&2','&1','TEST' ) from dual;
Spool off;
I have tried to use set linesize and set long etc but I still cannot get the whole thing.
If I just execute
Code:
Select dbms_metadata.get_ddl('PACKAGE','BIG_TEST_PACKAGE','TEST' ) from dual;
Can someone help me please?