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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Create table as ?

Re: Create table as ?

From: Brian Peasland <peasland_at_edcmail.cr.usgs.gov>
Date: 2000/05/01
Message-ID: <390D8718.16CA7234@edcmail.cr.usgs.gov>#1/1

You'll have to create the constraints and indexes manually. There is no magical command that says CREATE TABLE AS SELECT * FROM TEST INCLUDING CONSTRAINTS AND INDEXES; HTH,
Brian

Mujahid Hamid wrote:
>
> Hello All,
>
> When I use create table as select * from test, then I loose all the RI
> constraint in the new table, is there a way where I use create table as and
> bring all the constraints in the original table to the new table ?
>
> With Thanks
>
> Mujahid
 

-- 
========================================
Brian Peasland
Raytheons Systems at
  USGS EROS Data Center
These opinions are my own and do not
necessarily reflect the opinions of my 
company!
========================================
Received on Mon May 01 2000 - 00:00:00 CDT

Original text of this message

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