If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > SQL used to create a table...9i

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-24-11, 04:57
shajju shajju is offline
Registered User
 
Join Date: Aug 2008
Posts: 340
SQL used to create a table...9i

Hi

Is there a way to get the exact SQL used to create a table? (reverse engg).

Regards
Shajju
Reply With Quote
  #2 (permalink)  
Old 12-24-11, 05:15
Littlefoot Littlefoot is offline
Lost Boy
 
Join Date: Jan 2004
Location: Croatia, Europe
Posts: 3,629
Research use of DBMS_METATADA.GET_DDL.
Reply With Quote
  #3 (permalink)  
Old 12-25-11, 04:10
shajju shajju is offline
Registered User
 
Join Date: Aug 2008
Posts: 340
Will do.

Many thanks.
Reply With Quote
  #4 (permalink)  
Old 01-03-12, 02:47
salmansyed786 salmansyed786 is offline
Registered User
 
Join Date: Jan 2012
Posts: 3
How to exact SQL used to create a table in oracle (reverse Engineering)

In Oracle9i we have the exciting new dbms_metadata utility to display DDL directly from the data dictionary. Using this powerful utility, we can punch individual objects or an entire schema.

You simply execute dbms_metadata. get_ddl.

To know how to execute the check out at Salman's Blog: How to exact SQL used to create a table in oracle (reverse Engineering)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On