好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

ORA-14044: only one partition may be moved ORACLE 报错

文档解释

ORA-14044: only one partition may be moved

Cause: ALTER TABLE MOVE PARTITION contained descriptions of more than one partition to be moved

Action: Ensure that the statement describes exactly one partition to be moved and that it does not contain any commas

ORA-14044: 是由于超出同一操作中可移动的分区数量而导致的错误,官方解释是:只允许同一 ALTER TABLE 操作中移动一个分区。

常见案例

ALTER TABLE table_name MOVE PARTITION (part1, part2);

正常处理方法及步骤

1.请确保在一个 ALTER TABLE 操作中只移动一个分区;

2.用多个 ALTER TABLE 语句分开移动每个分区,每个 ALTER TABLE 语句移动一个分区;

3.可以使用 ALTER TABLE … EXCHANGE PARTITION 语句,它同时移动两个分区。

查看更多关于ORA-14044: only one partition may be moved ORACLE 报错的详细内容...

  阅读:11次