Showing posts with label change oracle view name. Show all posts
Showing posts with label change oracle view name. Show all posts

Tuesday, March 25, 2014

Rename an Oracle Table or View

We can use "rename" to rename a table or view.

SQL> rename tbl_test01 to tbl_test01b;

Table renamed.
Alternatively, we can rename a table using "alter table ...rename to...".

SQL> alter table tbl_test01c rename to tbl_test01d;

Table altered.