ORA-14501: object is not partitioned
Cause: Table or index is not partitioned. Invalid syntax.
Action: Retry the command with correct syntax.
ORA-14501错误是oracle数据库报出的表示无法操作一个没有分区的对象。
ORA-14501: object is not partitioned
Cause: An attempt was made to perform an operation on an object for which it is not valid. This could occur if an attempt to access a non-partitioned table is made or if an attempt to access a local index on a partitioned table is made.
1. 当使用ALTER TABLE操作的时候,如果表没有分区,会报ORA-14501错误。
2. 如果表是分区表,但是访问的是本地索引,也会报ORA-14501错误。
1. 如果表没有分区,请先增加分区,然后执行ALTER TABLE操作。
2. 如果表是分区表,则需要改为使用全局索引,而不是本地索引。