Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: [Q] Make a table which has same structure.

Re: [Q] Make a table which has same structure.

From: David <darussell_at_msn.com>
Date: Sun, 5 Jul 1998 19:26:15 +0100
Message-ID: <e7st3IEq9GA.212@upnetnews05>


Try :

create table newschema.newtable as select * from currentschema.currenttable;

or if you want no rows in the new table :

create table newschema.newtable as select * from currentschema.currenttable where 1=2;

Regards
David Russell

kimcd_at_shinbiro.com wrote in message <35a02116.429424_at_news.shinbiro.com>...
>Hi,
>I have made a table.
>And I want to make another table which has same structure but owner
>and table name is different .
>
Received on Sun Jul 05 1998 - 13:26:15 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US