I know someone asked how many of us would use the "backdoor methods" to rename
columns. I believe the answer is only the foolhardy & those with suicidal
tendencies. The only way to "rename" a column, without reverting to the view
thing, is to create a new table with the correct definition & then insert the
data from the old table into the new one.
If you want to try the "backdoor" method of changing the value in sys.col$ do so
on a development box, preferably one that is not used actively for development
and then only after a cold backup and don't ask the list for help when you fat
finger it. Cause the flame is going to be HOT!!!
Dick Goulet
____________________Reply Separator____________________
Author: "Johan Locke@i-Commerce Services" <[EMAIL PROTECTED]>
Date: 2/14/2001 5:31 AM
Hi All
I think I did send one out earlier. Don't bite.
You can't rename a column. The combatibility parameter issue I was thinking
of has to do with when you want to drop a column in 8i. That I know, has to
be greater or equal to 8.1.0 when you want to drop a column
Sorry again
Regards
JL
-----Original Message-----
Sent: Wednesday, February 14, 2001 2:10 PM
To: Multiple recipients of list ORACLE-L
Ok i'll bite, i try to keep up with the new features and i'm looking at
8i(8.1.7) docs right now and i dont see it, would you like to elaborate?
you can rename a table, rename a partition but NOT rename a column, this
has been on the wish-list for many years just like drop column was.
Feel free to flame me if i'm wrong(it does happen but rarely) :)
joe
"Johan Locke@i-Commerce Services" wrote:
>
> Wait wait wait...
>
> Yes you can rename a column in 8i, it just depends to what value your
> compatibility parameter is set
>
> Regards
> JL
>
> -----Original Message-----
> Sent: Wednesday, February 14, 2001 8:05 AM
> To: Multiple recipients of list ORACLE-L
>
> 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).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Johan Locke@i-Commerce Services
> 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).
--
Joe Testa http://www.oracle-dba.com
Performing Remote DBA Services, need some backup DBA support?
For Sale: Oracle-dba.com domain, its not going cheap but feel free to
ask :)
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Joseph S. Testa
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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Johan Locke@i-Commerce Services
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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
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).