If an error occurs when Renaming an Oracle table: you are not allowed to rename this table, try to drop the materialized view log on the table. Sqlgt; gt; create
If an error occurs when Renaming an Oracle table: you are not allowed to rename this table, try to drop the materialized view log on the table. Sqlgt; gt; create
If an error occurs when Renaming an Oracle table: you are not allowed to rename the table, try to drop the materialized view log on the table.
SQL> create materialized view log on test_1;
The materialized view log has been created.
SQL> alter table test_1 rename to test_2;
Alter table test_1 rename to test_2
*
ERROR is located in row 1st:
ORA-26563: This table cannot be renamed
SQL> drop materialized view log on test_1;
The materialized view log has been deleted.
SQL> alter table test_1 rename to test_2;
The table has been changed.
Before RENAME, check whether the materialized view is mounted.