博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ORA-14047
阅读量:6904 次
发布时间:2019-06-27

本文共 976 字,大约阅读时间需要 3 分钟。

报错

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)

转载于:https://blog.51cto.com/roidba/2354522

你可能感兴趣的文章
x86汇编
查看>>
git将一个分支完全覆盖另外一个分支如:stable分支代码完全覆盖brush分支
查看>>
yii2获取用户get,post参数
查看>>
编辑于20140505
查看>>
Java常用的八种排序算法与代码实现
查看>>
数据库中Schema和Database有什么区别
查看>>
nginx笔记.
查看>>
面试题35-第一个值出现依次的字符
查看>>
jquery的 $.Event()
查看>>
C# 中的值类型和引用类型一览
查看>>
PHP编写代码目的、要求、规范及细节
查看>>
浅谈JVM内存模型
查看>>
IRC僵尸网络原理
查看>>
RIPng(第三组)
查看>>
后端传给前端Long类型数据,导致精度丢失
查看>>
SpringMvc 与 Struts2的区别
查看>>
实验四 恶意代码技术
查看>>
快速打出System.out.println("");
查看>>
kermit的安装、配置、使用
查看>>
shell编程学习
查看>>