My Oracle Support Banner

ORA-14039 When Creating UNIQUE Partitioned Index with a DESC Column (Doc ID 1064998.1)

Last updated on NOVEMBER 07, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 8.1.6.1 to 11.2.0.2 [Release 8.1.6 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Creating a UNIQUE local index on a partitioned table generates the error "ORA-14039: partitioning columns must form a subset of key columns of a UNIQUE index."   The local index contains the partitioning key columns, as required, but also includes the DESC keyword on those columns.

Example:

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.