Sunday, September 24, 2017

Oracle rename table and Column from sql command


rename
-------
ALTER TABLE old_table RENAME TO new_table;
/
alter table table_name rename column old_column_name  TO new_column_name;

alter table it_item_serial rename column serialno TO serial;


//

alter table uer_module rename to user_module;


No comments:

Post a Comment

 https://www.linkedin.com/pulse/building-real-time-database-monitoring-dashboard-oracle-khaleeq-tpwxf/