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: how to create a duplicate table using sql

Re: how to create a duplicate table using sql

From: Howard J. Rogers <hjr_at_dizwell.com>
Date: Wed, 08 Dec 2004 10:51:51 +1100
Message-ID: <41b64215$0$12876$afc38c87@news.optusnet.com.au>


db2group88_at_yahoo.com wrote:
> no, i can't insert data when i create the table, i just need to create
> an empty tables . thanks
>

create table newtable as select * from oldtable where 1=2;

HJR Received on Tue Dec 07 2004 - 17:51:51 CST

Original text of this message

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