Home > Database > Mysql Tutorial > 重命名Oracle表时出现ORA-26563错误

重命名Oracle表时出现ORA-26563错误

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:15:06
Original
1450 people have browsed it

如果在重命名Oracle表的时候出现ORA-26563: 不允许重命名此表错误,试着将表上的物化视图日志drop就可以了。sqlgt;gt; create

如果在重命名Oracle表的时候出现ORA-26563: 不允许重命名此表错误,,试着将表上的物化视图日志drop就可以了。

sql>> create materialized view log on test_1;

实体化视图日志已创建。

sql>> alter table test_1 rename to test_2;
alter table test_1 rename to test_2
*
ERROR 位于第 1 行:
ORA-26563: 不允许重命名此表

sql>> drop materialized view log on test_1;

实体化视图日志已删除。

sql>> alter table test_1 rename to test_2;

表已更改。

RENAME前要检查表后是否挂了物化视图。

linux

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template