My Oracle Support Banner

How to do Partition Exchange with Reference-partitioned Child and Grandchild Tables (Doc ID 2556549.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Goal

You want to do partition exchange with a parent partitioned table when there are partition-referenced child and grandchild tables.

If you use the CASCADE option, as in this example, you get ORA-14706: multiple child tables reference constraint "<constraint_name>" in table "<parent_table>"." <column>"

If you omit the CASCADE option, you get error ORA-02266: unique/primary keys in table referenced by enabled foreign keys

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


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