Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Rename Column in 9iR2
Kevin,
Yes but does it work with data in the column?, I do not have 9i set up
yet. If it works as you describe with data in the column it will really
help with the multi million row tables that "they" want to rename a
column after a release of a new lotto game.
thanks,
for the test and update.
Ron
ROR mª¿ªm
>>> ktoepke_at_trilegiant.com 05/22/02 10:38AM >>> Summary: it works!
SQL> SELECT * FROM v$version;
BANNER
SQL> create table test_table (wrong_name VARCHAR2(40));
Table created.
SQL> alter table test_table rename column wrong_name to right_name;
Table altered.
SQL> desc test_table;
Name Null? Type ----------------------------------------- --------
----------------------------
RIGHT_NAME VARCHAR2(40)
SQL>
Kevin Toepke
ktoepke_at_trilegiant.com
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Toepke, Kevin M INET: ktoepke_at_trilegiant.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing ListsReceived on Wed May 22 2002 - 11:58:41 CDT
--------------------------------------------------------------------
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: Ron Rogers INET: RROGERS_at_galottery.org 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).