how to change column name from existing table
oracle
Collapse
X
-
Tags: None
-
You can do that only if you are using oracle version 10g.
That is not supported in any prior version. -
Here is the syntax
SQL> alter table <tablename> rename column <old columnname> to <new columnname>;
eg:
Good LuckCode:alter table test rename column ename to empname;
malaLast edited by debasisdas; Aug 6 '07, 05:32 AM. Reason: spelling error and added code tag,made some changesComment
Comment