Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: how do i drop a column?
On Fri, 19 Mar 1999 18:42:51 -0500, Misha Nicholas
<xenome_at_earthling.net> wrote:
>This is a way to accomplish what you want:
>
>RENAME the_table TO the_table_temp;
>CREATE TABLE the_table AS
>SELECT field1, field2...fieldn -- exclude field you don't want
>FROM the_table_temp;
>DROP TABLE the_table_temp;
>
>If anyone knows a way to actually drop a column from a table, please let
>me know.
It can be done with Oracle 8i with a single command.
Chris
![]() |
![]() |