ORA-14006 When Using For Clause In Partition Maintenance Command (Doc ID 1400473.1)

Last updated on MARCH 27, 2014

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

ORA-14006 when partition operation is used with FOR clause for partitioned index or for partitioned index organized table (IOT).

ALTER TABLE <IOT> MODIFY PARTITION FOR(10) ....
ALTER INDEX <partitioned index> MODIFY PARTITION FOR(10) ....

e.g.
alter index idx2 modify partition for(10) nocompress
                                  *
ERROR at line 1:
ORA-14006: invalid partition name

alter table iot1 modify partition for(10) coalesce
*
ERROR at line 1:
ORA-25189: illegal ALTER TABLE option for an index-organized table
ORA-14006: invalid partition name

This occurs for other partition maintenance operations (e.g. split, drop, rebuild)  for partitioned index and for IOT.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms