from Oracle 8i
you can drop columns with -- alter table table_name drop column column_name;
and then your can add columns with the name to which you want to rename 
alter table table_name add(column_name type);

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of bipin sahani
Sent: Wednesday, February 14, 2001 3:05 PM
To: Multiple recipients of list ORACLE-L
Subject: Re: Renaming a Column


In Oracle
It's not possible to rename a column.You can instead
use alias for that column name in your queries.
Or you have to create a new table from existing one
Drop existing table.And recreate a table by
selecting from new table.

Regards
Bipin
--- Heikki Jantunen <[EMAIL PROTECTED]> wrote: >
Hi all,
> 
> I need to rename some columns on my table. Any idea
> how to do that...
> 
> Thanks in advance,
> 
> Hessu
>
_________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> 
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: Heikki Jantunen
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California        -- Public Internet
> access / Mailing Lists
>
--------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.in address at http://mail.yahoo.co.in
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?bipin=20sahani?=
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like 
subscribing).•æ¬zÇž¶¨}øœ‰©ND‹±@Bm§ÿðÃ
+iöªr‰€ºØh¬ƒDNXì_]­æ¦Æw­«BŠÜzÜ(®Dž®øœzÏ9óüçNuüçÎwó9Õ&§'  &¥‰ú+ž&¹¹bp‰íz¹Þµ§zË?1¨¥ŠxŠËlN„D0åDÊ‹«±é_~º&¶¬™¨¥Šx%ŠËlzwZœCŠYž²Æ zÚŠËFº»Ÿj×"·'(šz-xEÀ
+   ;)zYbž
.+-êîjwbžØ^™ë,j86"Énu楊wœ¢{ZŠx§CRP‘"Ä.Ší…éڙꙨ¥Šx%ŠËr¢ìžÛhmêÞš‹Þuú虊.™¬š–Ê,zwm…áÄ,÷(šf§uú+¢Ø^®)ߢ¹š¶*'–)²æìr¸›Šx

Reply via email to