Generating CREATE TABLE statements

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jack Miller

    Generating CREATE TABLE statements

    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

    #2
    Re: Generating CREATE TABLE statements


    "Jack Miller" <jm@asdfaf.comw rote in message
    news:swrDf.2327 $0J3.1435@trndn y08...
    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


    Comment

    Working...