Following is simple example syntax for renaming a column to an Oracle table using “alter table” SQL:
1 2 | ALTER TABLE [my_table_name] RENAME COLUMN [current_column_name] TO [new_column_name]; |
A simple example would be:
1 2 | ALTER TABLE employee RENAME COLUMN f_name TO first_name; |
Like renaming an Oracle table, you should be aware of any dependencies in code, etc. that reference a table column by name.