Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: URGENT!!! How can I drop a column???
In pre-O8 you need to recreate the table:
Steps 3 and 4 are necessary to avoid object name collisions because the constraint names will be needed for the new table.
Most folks just nullify the data in the unused column, forget it and avoid the hassle. If you don't want the obsolete column visible to the user, you can hide it behind a view.
G'day
John Gasch
Kari Pannila wrote:
>
> Hi
>
> In Oracle 8.1.5 you can drop a column by command: ALTER TABLE xxx DROP
> COLUMN yyy
> In Oracle versions 8.0 and older, you can't drop a column, without
> recreating the table.
>
> rgdrs Kari
>
> (Mr.) Kari Pannila
> Oracle DBA (OCP)
> TietoEnator Corp - Telecom
>
> Delete X to get a correct mail address ( X is only for the SPAMMERS ).
>
> Steve A wrote:
>
> > But nobody has actually answered the question.
> >
> > steve
> >
> > Billy Verreynne <vslabs_at_onwe.co.za> wrote:
> >
> > > Lesley wrote in message ...
> > > >Wow, you are awfully bitter aren't you.
> > > >I think they were just trying to help.
> > >
> > >
> > > Suggesting the use of VB6 to drop a column in Oracle...? Well such a
> > > suggestion IMHO deserved a sarcastic reply.
Received on Fri Mar 31 2000 - 00:00:00 CST
![]() |
![]() |