本文主要向大家介绍了Oracle数据库之ORA-14047,通过具体的内容向大家展现,希望对大家学习Oracle数据库有所帮助。
报错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
要这样操作,不要带目标表的schemaSYS@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 1404714047, 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 renamespecifiying the schema name of the target
文档号ORA-14047: ALTER TABLE | INDEX RENAME May Not Be Combined With Other Operations (文档 ID 400398.1)
本文由职坐标整理并发布,希望对同学们学习Oracle有所帮助,更多内容请关注职坐标数据库Oracle数据库频道!