ORA-14213: VALUES LESS THAN or AT clause cannot be used for List subpartitioned tables ORACLE 报错 故障修复 远程处理

文档解释

ORA-14213: VALUES LESS THAN or AT clause cannot be used for List subpartitioned tables

Cause: VALUES LESS THAN or AT clause was used for List subpartitioned tables

Action: Use VALUES () clause for List subpartitioned tables

ORA-14213: VALUES LESS THAN or AT clause cannot be used for List subpartitioned tables(表达式错误:代表)

尝试使用在列表子分区表中使用VALUES LESS THAN或AT子句时产生错误。

官方解释

Valuse less than or at表达式不能用于列表子分区表。要正确定义表,请使用VALUES IN (list)或MAXVALUE子句。

常见案例

当创建具有多个子分区类型的表时,可能会犯这个错误。例如:

CREATE TABLE table_name

PARTITION BY LIST(column)

(

PARTITION p1

VALUES(LESS THAN 10)

);

正常处理方法及步骤

正确性处理该错误方法如下:

CREATE TABLE table_name

PARTITION BY LIST(column)

(

PARTITION p1 VALUES IN (10)

);


数据运维技术 » ORA-14213: VALUES LESS THAN or AT clause cannot be used for List subpartitioned tables ORACLE 报错 故障修复 远程处理