oracle

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thavamaniyan
    New Member
    • Aug 2007
    • 1

    oracle

    how to change column name from existing table
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    You can do that only if you are using oracle version 10g.
    That is not supported in any prior version.

    Comment

    • Mala232
      New Member
      • Jul 2007
      • 16

      #3
      Here is the syntax


      SQL> alter table <tablename> rename column <old columnname> to <new columnname>;

      eg:

      Code:
      alter table test rename column ename to empname;
      Good Luck
      mala
      Last edited by debasisdas; Aug 6 '07, 05:32 AM. Reason: spelling error and added code tag,made some changes

      Comment

      Working...