OraQA

Oracle Question and Answer

  • Do you have a solution to a problem? Do you have an unanswered question? Login and share it with the Oracle community. More...

Oracle News


Entries RSS feed

Comments RSS feed

How to rename a column in a table?

January 14th, 2006 By Eddie Awad

Use the ALTER TABLE command:

ALTER TABLE table_name
RENAME COLUMN old_col_name TO new_col_name

One Response to “How to rename a column in a table?”

  1. Robert Vollman Says:

    Consider also leaving the original table as-is and simply creating a view that changes that column name (or vice versa).

Leave a Reply

You must be logged in to post a comment.

RSS feed for comments on this question