dbTalk Databases Forums  

Generating CREATE TABLE statements

comp.databases.oracle comp.databases.oracle


Discuss Generating CREATE TABLE statements in the comp.databases.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jack Miller
 
Posts: n/a

Default Generating CREATE TABLE statements - 01-30-2006 , 10:53 AM






Hi,

Is there any SQL command in Oracle that returns a "CREATE TABLE"
statement in Oracle. For example in MySQL there is a command called

"SHOW CREATE TABLE <tableName>"

This command can be sent from any client and it returns the script for
the table.

Thanks

Reply With Quote
  #2  
Old   
Jim Kennedy
 
Posts: n/a

Default Re: Generating CREATE TABLE statements - 01-30-2006 , 08:20 PM







"Jack Miller" <jm (AT) asdfaf (DOT) com> wrote

Quote:
Hi,

Is there any SQL command in Oracle that returns a "CREATE TABLE"
statement in Oracle. For example in MySQL there is a command called

"SHOW CREATE TABLE <tableName>"

This command can be sent from any client and it returns the script for
the table.

Thanks
look at the docs under pl/sql packages dbms_metadata.
Jim




Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.