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: Removing a column from a table?

Re: Removing a column from a table?

From: Jan Kim <kim_at_jupiter.mpiz-koeln.mpg.de>
Date: 2000/06/14
Message-ID: <8i6ip1$hna$1@gwdu67.gwdg.de>#1/1

Jean-Christophe Boggio <cat_at_creaweb.fr> wrote:
> This is a very FAQ ! You can find solutions everywhere !
 

> quick way is :
 

> create temp_table as select <all_wanted_fields> from good_table;
 

> then erase good_table and rename temp_table to good_table. There are
> packages that do this and I wonder if Oracle8i doesn't have this
> implemented... (although it is violating ANSI SQL compliance).

Ok, I admit that this answers the question I posted, but unfortunately, it does not solve my problem. Unfortunately, there are quite a few foreign keys in other tables referencing the table in question.

So, to be more precise, I look for a way to get rid of a superfluous column which does not demand a temporary dissolution of referential integrity.

Sorry for having been imprecise before.

Greetinx, Jan

-- 
 +- Jan T. Kim -------------------------------------------------------+
 |             email: kim_at_mpiz-koeln.mpg.de                           |
 |             WWW:   http://www.mpiz-koeln.mpg.de/~kim/              |
 *-----=<  hierarchical systems are for files, not for humans  >=-----*
Received on Wed Jun 14 2000 - 00:00:00 CDT

Original text of this message

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