Requires Free Membership to View
SELECT dbms_metadata.get_ddl('TABLE','EMP','SCOTT') FROM dual;
Or, you can query for all of your tables using the Data Dictionary:
SELECT dbms_metadata.get_ddl('TABLE',table_name,USER) FROM user_tables;
This was first published in March 2006

Join the conversationComment
Share
Comments
Results
Contribute to the conversation