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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Copying tables

Re: Copying tables

From: Michael Barger <mrbarger_at_onramp.net>
Date: Tue, 03 Oct 2000 19:07:00 -0500
Message-Id: <10638.118414@fatcity.com>


I would use one of two ways... [I haven't done any benchmarking, so I don't know which is faster, but this should only be a few seconds either way...]

create table_a as select * from table_b where 1 = 2;

or

export tables=(table_a)
import rows=n

hope this helpse

cemail_at_sprintmail.com wrote:

> I want to copy Table A and all of its constraints and name it
> Table B. Don't want to copy the data though. What is the easiest
> way to do this?
Received on Tue Oct 03 2000 - 19:07:00 CDT

Original text of this message

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