Adding Primary Key on Unique Index Ora-01418 or ORA-14196
(Doc ID 577253.1)
Last updated on AUGUST 13, 2020
Applies to:
Oracle Database - Enterprise Edition - Version 9.2.0.1 to 12.2.0.1 [Release 9.2 to 12.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.
Information in this document applies to any platform.
Goal
Customer wants to add a PK based only on two of three columns of an UNIQUE index, and this fails with:
ORA-1418 ORA-01418: specified index does not exist. in 9.2 and 12c
ORA-14196: Specified index cannot be used to enforce the constraint. in 10.2
Solution
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
Goal |
Solution |
References |