Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Changing Column Names

Re: Changing Column Names

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Fri, 15 Oct 1999 08:46:50 -0400
Message-ID: <4iEHOBbN5Yhd6R9hqHpL9zTk0e3R@4ax.com>


A copy of this was sent to "Craig Despres" <csdespres_at_callsynergy.com> (if that email address didn't require changing) On Fri, 15 Oct 1999 01:21:20 GMT, you wrote:

>Is there any way to rename a column in an existing table without dropping it
>and adding it back into the table with the correct name?

The way to do this is:

In Oracle8i, release 8.1, you can:

but i would always still prefer method 1 as it is the fastest, easiest, least error prone way to do it.

--
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'... Current article is "Part I of V, Autonomous Transactions" updated June 21'st  

Thomas Kyte                   tkyte_at_us.oracle.com
Oracle Service Industries     Reston, VA   USA

Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Fri Oct 15 1999 - 07:46:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US