温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

ORA-14047

发布时间:2020-07-23 10:24:56 来源:网络 阅读:438 作者:roidba 栏目:关系型数据库

报错
SYS@orcl> alter table test rename to sys.test_bak;
alter table test rename to sys.test_bak
*
ERROR at line 1:
ORA-14047: ALTER TABLE|INDEX RENAME may not be combined with other operations

要这样操作,不要带目标表的schema
SYS@orcl> alter table test rename to test_bak;

Table altered.

原因
The operation is regarded as a combined operation as indicated by the full error message description:

$ oerr ora 14047
14047, 00000, "ALTER TABLE|INDEX RENAME may not be combined with other operations"
// Cause: ALTER TABLE or ALTER INDEX statement attempted to combine
// a RENAME operation with some other operation which is illegal
//
Action: Ensure that RENAME operation is the sole operation specified in
// ALTER TABLE or ALTER INDEX statement;

The combination of actions appear to be:

the actual table rename
specifiying the schema name of the target

文档号
ORA-14047: ALTER TABLE | INDEX RENAME May Not Be Combined With Other Operations (文档 ID 400398.1)

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI