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

Home -> Community -> Usenet -> c.d.o.misc -> Re: rename a column?

Re: rename a column?

From: Tim Witort <trwNOSPAM_at_NOSPAMmedicalert.org>
Date: 1997/09/09
Message-ID: <34159709.B6E@NOSPAMmedicalert.org>#1/1

Tom La Porte wrote:
>
> Is there any way to rename a column, other than recreating the table?
>
> The ALTER TABLE command allows you to change constraints and
> data types on a column, but doesn't seem to allow a name change.
>
> It's not a crucial issue, but I couldn't find anything in my brief
> search of the Oracle docs. Just wondering if I missed something obvious.
>
> Any suggestions are appreciated.
>

You can create a view on the table which substitutes the correct name for the incorrect one. Of course, then the view name will need be different from the actual table name if it's in the same schema!

Received on Tue Sep 09 1997 - 00:00:00 CDT

Original text of this message

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