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: fix table. HOW TO?

Re: fix table. HOW TO?

From: Nilo P.A. Cabrera <cabreras_at_wtp.net>
Date: Wed, 07 Jul 1999 14:11:39 -0600
Message-ID: <3783B47B.CB831774@wtp.net>


You can "delete" columns by making another copy of you table without the "extra" columns:

create table new table as select col1, col2, col4,col8 from oldtable;

Of course you can add a where clause to select the rows you want to 'copy'.

After you create the table you can and constraints, drop old table, copy newtable to oldtable... Received on Wed Jul 07 1999 - 15:11:39 CDT

Original text of this message

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