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: Help! How to delete a column?

Re: Help! How to delete a column?

From: Byron Pearce <bpearce_at_csac.com>
Date: 1997/08/01
Message-ID: <33E2A227.7DD1D08E@csac.com>#1/1

Margaret Ngai wrote:

> I have added a column which I don't really want in a table. How can I
>
> delete it?
>
> ALTER TABLE does not support the DELETE function & Schema Manager
> doesn't
> have a remove option for a column.
>
> Any suggestions is welcome. Thanks.
>
> --
> Margaret Ngai
> E-Mail: margaret_at_synrevoice.com

There is currently no method for removing a column. The only workaround that can be done is to rename the table and the issue a CREATE TABLE. . . AS SELECT. . . and not specify the missing column in the SELECT clause.

--
====================================================================
Byron Pearce                         mailto:bpearce_at_csac.com
Systems Consultant                   http://www.csac.com
Computer Systems Authority (CSA)     Dallas, Texas

"It's hard to be a ninja when you wear a beeper."
Received on Fri Aug 01 1997 - 00:00:00 CDT

Original text of this message

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