Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Removing columns from a table
The only option I know is to re-create table without the unneeded column -
here's how:
create table <your_table>_$$$ as
select field1, field2, ..., fieldn
from <your_table>;
-- list all columns except the one being removed
drop table <your_table>;
rename <your_table>_$$$ <your_table>;
Could be a pain if you have 30+ columns in your table though...
HTH Alex
John Harris wrote in message <37697327.24698438_at_nurs.utah.edu>...
>Is it possible to remove tables from an oracle table? If so, how is it
>done? Thank you.
>
>John Harris
>University of Utah
>
Received on Thu Jun 17 1999 - 22:04:05 CDT
![]() |
![]() |