Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

ORA-14039

partitioning columns must form a subset of key columns of a UNIQUE index

Cause

User attempted to create a UNIQUE partitioned index whose partitioning columns do not form a subset of its key columns which is illegal


Action

If the user, indeed, desired to create an index whose partitioning columns do not form a subset of its key columns, it must be created as non-UNIQUE; otherwise, correct the list of key and/or partitioning columns to ensure that the index' partitioning columns form a subset of its key columns