Connecting Tech Pros Worldwide Forums | Help | Site Map

Generating CREATE TABLE statements

Jack Miller
Guest
 
Posts: n/a
#1: Jan 30 '06
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

Jim Kennedy
Guest
 
Posts: n/a
#2: Jan 31 '06

re: Generating CREATE TABLE statements



"Jack Miller" <jm@asdfaf.com> wrote in message
news:swrDf.2327$0J3.1435@trndny08...[color=blue]
> 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[/color]
look at the docs under pl/sql packages dbms_metadata.
Jim


Closed Thread