My Oracle Support Banner

ORA-2266 When Partition Referenced by FK Constraint and Partition Dropped (Doc ID 1469877.1)

Last updated on MAY 17, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 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  However, running the testcase in-house at Oracle reproduced the issue for, 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!

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