ORA-26036: subpartition load specified but table string is not subpartitioned ORACLE 报错 故障修复 远程处理
文档解释
ORA-26036: subpartition load specified but table string is not subpartitioned
Cause: The Loader control file contains a PARTITION clause but the table being loaded is not subpartitioned.
Action: Remove the subpartition specification from the SQL*Loader control file and retry the load.
ORA-26036 错误是由于试图在非分区表上执行子分区加载操作引起的。
官方解释
ORA-26036: subpartition load specified but table string is not subpartitioned
Cause: Attempt was made to do a subpartition load into a non-partitioned table
Action: Remove the SUBPARTITION clause from the load statement in order to continue
常见案例
如果在没有分区的表上设置一个子分区,则可能会遇到ORA-26036错误。这是因为表本身没有被分区,因此无法生成子分区。
一般处理方法及步骤
1.在表创建之前,应该明确你是否希望划分表。如果是,则可以将表分区。
2. 如果不打算使用分区表,则要求在加载数据时删除SUBPARTITION子句。