Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql source used to create tables

Status
Not open for further replies.

dooge

Programmer
Jun 30, 2003
4
US
In oracle's dbastudio, when you select a table it shows the SQL text used to create the table. Where is this stored in the database (if it is)?
 
It's created dynamically.
In 9i you can run the PL/SQL dbms_metadata to create the DDL for you.
Otherwise you will have to create the code yourself looking at user_tables, user_tab_columns ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top