Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ALTER TABLE ..... RENAME ..... TO ..... does not work ?

pstein-JavaNetMay 21 2007 — edited May 21 2007
When I enter the following command in SQLplus it is accepted (and executed ?) without problems.

ALTER TABLE tablesum
RENAME currency TO curr;

However when I enter afterwards a

SELECT * FROM tablesum;

then as header of the column appears still "currency"

Does RENAME only affect the column name and NOT its header ?
If yes how can I change both column name and header together ?

Yes, I have done a COMMIT;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2007
Added on May 21 2007
12 comments
10,442 views