Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Dropping a field from a table
A copy of this was sent to "Colin Basterfield" <colinb_at_areagem.demon.co.uk>
(if that email address didn't require changing)
On Mon, 26 Apr 1999 12:10:55 +0100, you wrote:
>Hello,
>
> Perhaps a stupid question, but i can't find anywhere how to delete a
>field from a table. Is it possible?
>
before Oracle8i, release 8.1 -- no, there is no command to drop a column.
In Oracle8i, release 8.1 you can:
set a column to unused -- flag deletes a column, column appears to be gone but still consumes space on disk
drop a column -- column is physically removed
drop unused -- reclaims space from flag deleted columns.
Prior to that, you would either:
>TIA
>Colin B
>
Thomas Kyte
tkyte_at_us.oracle.com
Oracle Service Industries
Reston, VA USA
--
http://govt.us.oracle.com/ -- downloadable utilities
![]() |
![]() |