Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Dropping a column?
On Fri, 06 Jun 1997 11:00:56 -0400, John Duska <duska_at_srfs.pitt.edu> wrote:
>
>Is there some way to drop a column from a table? I know this sounds
>stupid, but I can't find the command anywhere.
>thanks
>John
>
NO.
You have to create a similar table, with tha column missing, copy the exiesting table into it, drop the existing table, recreate it with the column missing, and copy back from the temporary table. You then have to re-create any constraints and indexes on the original table. This is a real nuisance, to put it mildly.
-- The above posting represents the personal opinions of the author and is not to be taken as official (or unofficial) policy or opinions of his employer. Remove XSPAM from mail_id if replying via email. Alex Heney, Living in the Global Village.Received on Fri Jun 06 1997 - 00:00:00 CDT