brgdotnet
asked on
How to script out a table definition in Oracle Sql developer
In Oracle Sql developer, how do you script out a table definition, so that when you want to create the table in another database, you don't have to create the table manually?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
select dbms_metadata.get_ddl('TAB
https://docs.oracle.com/database/122/ARPLS/DBMS_METADATA.htm#GUID-A4683EEE-6F54-4081-B7BF-1496096675FA
If you want the SQL Developer way:
http://www.oracle.com/technetwork/developer-tools/sql-developer/export-intro-1-161239.html