how to change the column name to an already existing table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • praween4
    New Member
    • Oct 2008
    • 1

    how to change the column name to an already existing table

    friends please let me know how to change the name of the column to an already existing table
  • Pilgrim333
    New Member
    • Oct 2008
    • 127

    #2
    (From Oracle 9i release 2)
    ALTER TABLE table_name
    RENAME COLUMN old_name to new_name;

    You can find more info on this at:

    This SQL tutorial explains how to use the SQL ALTER TABLE statement to add a column, modify a column, drop a column, rename a column or rename a table (with lots of clear, concise examples). It is used to add, modify, or drop/delete columns in a table.


    Pilgrim

    Comment

    Working...