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: deleting column from table

Re: deleting column from table

From: Alan Barker <Ajb1_at_nextcentury.com.au>
Date: 2000/07/15
Message-ID: <7BTb5.187$l3.446@news.syd.ip.net.au>#1/1

Hi Vik,

Oracle 8i is the first version which allows for the dropping of a column. Syntax below (with DROP) is correct.

The only way to achieve the same result in earlier versions is to create table as ... ; drop the original table and rename the new table .

Regards,
Alan Barker
Vik <viklall_at_my-deja.com> wrote in message news:8ko2g9$2rp$1_at_nnrp1.deja.com...
> I want to run this:
>
> alter table table_name drop (or is it delete) column column_name
>
> Against 8.0.x and 8.1.x. Is it true that this syntax will only work on
> 8.1.x? How do you do it in all versions?
>
> Thanks!
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Sat Jul 15 2000 - 00:00:00 CDT

Original text of this message

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