Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Renaming a column
Been there, done it. It's dangerous. Don't ever do it.
I was lucky and was able to reverse the changes. I know and Oracle instructor who was not so lucky and lost a database.
I've heard of other people doing this and it worked properly.
It's usually a bad idea to mess with the data dictionary unless instructed to do so by OWS.
Jared
On Wed, 14 Feb 2001, Deshpande, Kirti wrote:
> Have you personally done this in your test database (and may be in your
> production database)?
> Are there any 'side effect' as to Oracle may not support any problems it may
> create down the road?
> Or this is a perfectly safe operation to 'just do it' ? If so, what type of
> 'risks' it might have?
> I would like to more about it.
>
> Thanks,
> - Kirti
>
> > -----Original Message-----
> > From: TIL-TEC [SMTP:til_at_pobox.tec.co.in]
> > Sent: Wednesday, February 14, 2001 11:51 AM
> > To: Multiple recipients of list ORACLE-L
> > Subject: Re:Renaming a column
> >
> >
> > Hessu,
> > In Oracle 8i renamimg of a column is possible. Otherwise there is
> > a roundabout method . As sys user you have to first find out your
> > object's id from obj$ table . And then change the column name from col$
> > table by giving the object id . It is risky be careful . First you can
> > try on test database .
> >
> > Reply.
> >
> > -- neena
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: TIL-TEC
> > INET: til_at_pobox.tec.co.in
> >
> > 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: ListGuru_at_fatcity.com (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: Deshpande, Kirti
> INET: kirti.deshpande_at_verizon.com
>
> 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: ListGuru_at_fatcity.com (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: jkstill_at_cybcon.com 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: ListGuru_at_fatcity.com (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).Received on Wed Feb 14 2001 - 16:45:22 CST