Example how to get scott.emp DDL
set heading offI wrote a small script to export a full schema, just connect as the schema owner and run the script. [ View ].
set pages 0
set long 1000
select
dbms_metadata.get_ddl('TABLE','EMP','SCOTT')
from
dual
/
Read Using DBMS_METADATA documentation.
No comments:
Post a Comment