Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Howto change/delete a column name without drop table?
A copy of this was sent to Albert Zhu <lzhu_at_mail.gte.net>
(if that email address didn't require changing)
On Sun, 07 Feb 1999 11:31:27 -0500, you wrote:
>Hi,
>
>I am looking for a way in sqlplus to change/delete a column name. The
>ALTER TABLE seems can not do that. And I can not drop the table
>because it is tied to too many other tables.
>
>Any help is very appreciated.
>
>Albert
some modifications can be made (see alter table modify column) but renaming or dropping a column is not one of them (until Oracle8i anyway).
Currently, the fastest way to do this is
using the view is analogous to the new 8.1 feature "marking a column unused" without having to use a view.
In Oracle8i, you can
Thomas Kyte
tkyte_at_us.oracle.com
Oracle Service Industries
Reston, VA USA
--
http://govt.us.oracle.com/ -- downloadable utilities
Anti-Anti Spam Msg: if you want an answer emailed to you, you have to make it easy to get email to you. Any bounced email will be treated the same way i treat SPAM-- I delete it. Received on Sun Feb 07 1999 - 16:07:34 CST
![]() |
![]() |