Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: copy tables and constraints
I think you will not get the constraints; you will have to manually
recreate them.
Raghu
R. Neideck wrote:
>
> Hello everyone,
>
> I want drop one or two columns in a table. Using the SQL Language I copy
> the important
> columns in an new table :
>
> create table tmp_table ( nr, name, ... ) as select nr, name, ... from
> org_table;
>
> But what about the constraints ? How can I copy the constraints into the
> new table ?
>
> thanks in advance
>
> Rainer
>
> --
Received on Wed Nov 18 1998 - 20:57:51 CST