Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: alter tabel ddl statement drop column
In article <374EAD51.4D249745_at_charlestoncounty.org>,
Peter Shankey <shankeyp_at_charlestoncounty.org> wrote:
> What is the reasoning as to why a alter table command does not let a
> column be dropped?? What is the accepted method for removing a column
> from a table?
>
> thanks
>
>
I've got a document from oracle that lists this as enhancement request
51118.
either a) set the column to be null, rename the table then create a
view on the renamed table
b)create a new table as select specific columns from old table
drop old table
rename new table to old table
recreate indexes, grants etc
regards
nigel groves
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Fri May 28 1999 - 11:33:13 CDT