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: Oracle 8 - Renaming Coulmns

Re: Oracle 8 - Renaming Coulmns

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Thu, 08 Jun 2006 21:23:13 +0200
Message-ID: <d3ug82tu581pjqtjepjstnek1jtgqum44k@4ax.com>


On 8 Jun 2006 12:09:36 -0700, "amerar_at_iwc.net" <amerar_at_iwc.net> wrote:

>So, I just want to see if there is a non-documented way to do it, and,
>explain to the client the dangers of doing it his way........I can only
>suggest the ways to do it. The client makes the decision.......
>
>Is COL$ the only table that would have to change?
>
>Thanks!

Each record in each table has an internal column directory. There are no column names in that directory, it fully relies on the order of the columns in the dictionary.
See what I'm getting at?
Even if you would manage to screw up the col$ table correctly, how are you going to rearrange all affected records?

Also using * is bad programming practice, especially in Pl/sql, as any change to the table invalidates all the statements based upon it.

--
Sybrand Bakker, Senior Oracle DBA
Received on Thu Jun 08 2006 - 14:23:13 CDT

Original text of this message

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