ORA-2266 When Partition Referenced by FK Constraint and Partition Dropped
(Doc ID 1469877.1)
Last updated on FEBRUARY 22, 2019
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.
A range-partitioned table (parent) is referenced via a foreign key constraint from another range-partitioned table (child). A partition in the child table is dropped without error. However, dropping the corresponding partition on the "parent" table fails with "ORA-02266: unique/primary keys in table referenced by enabled foreign keys."
The customer in this case reported this worked in 10.2.0.4. However, running the testcase in-house at Oracle reproduced the issue for 10.2.0.4, as well.
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