報錯
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 operationsapp
要這樣操做,不要帶目標表的schema
SYS@orcl> alter table test rename to test_bak;ide
Table altered.ip
緣由
The operation is regarded as a combined operation as indicated by the full error message description:ci
$ 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:get
the actual table rename
specifiying the schema name of the targetit
文檔號
ORA-14047: ALTER TABLE | INDEX RENAME May Not Be Combined With Other Operations (文檔 ID 400398.1)io