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: How to delete a column from a table?

Re: How to delete a column from a table?

From: Connor McDonald <mcdonald.connor.cs_at_bhp.com.au>
Date: 1997/03/10
Message-ID: <3323D0B4.26D2@bhp.com.au>#1/1

Simon Goland wrote:
>
> Yes, I know, I have seen it here sometime ago. But it was "then", and I
> thought I won't need it... but now I do... ;-)
>
> So my long and tedious approach so far is:
>
> --
> [ Simon Goland B-)> sg_at_mda.ca ]
> [ Without action there is no change ]

Cheap and easy way...but not really doing the drop...

rename table xxx to xxx_gone
create view xxx as select (* minus missing column) from xxx_gone...

Voila ! (Ugh...)

Cheers

-- 
Connor McDonald
Systems Administrator-Unix/Oracle
BHP Iron Ore
"You're not drunk if you can lie on the floor without holding on"
            - Dean Martin
Received on Mon Mar 10 1997 - 00:00:00 CST

Original text of this message

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