ORA-14196: Specified index cannot be used to enforce the constraint.
(Doc ID 2740943.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterInformation in this document applies to any platform.
Symptoms
When attempting to create a unique constraint using an index that was created with a function(Function-based index), an ORA-14196: Specified index cannot be used to enforce the constraint is raised
alter table test_con add constraint test_con_u1 unique(c4) using index idx1 enable novalidate;
ERROR at line 1:
ORA-14196: Specified index cannot be used to enforce the constraint.und
Changes
created a function-based index on the column being used in the constraint
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 |