My Oracle Support Banner

ORA-14652 When Using Reference Partitioning (Doc ID 1050966.1)

Last updated on NOVEMBER 07, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.
***Checked for relevance on 22-Jul-2013***


Symptoms

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product.  Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

CREATE TABLE <Table_Ref_Parent> (
table_name VARCHAR2(30),
order_date DATE,
num_rows NUMBER)
PARTITION BY RANGE(num_rows) (
PARTITION num_rows1 VALUES LESS THAN (100) TABLESPACE users,
PARTITION num_rows2 VALUES LESS THAN (1000) TABLESPACE users,
PARTITION num_rows3 VALUES LESS THAN (10000) TABLESPACE users,
PARTITION num_rows4 VALUES LESS THAN (MAXVALUE) TABLESPACE users);

Table created.

 

ALTER TABLE <Table_Ref_Parent> ADD CONSTRAINT pk_<Table_Ref_Parent>
PRIMARY KEY (table_name) USING INDEX;

Table altered.

 

CREATE TABLE <Table_Ref_Child> (
table_name VARCHAR2(30) ,
index_name VARCHAR2(30) ,
CONSTRAINT fk_<Table_Ref_Child>_parent
FOREIGN KEY(table_name) REFERENCES <Table_Ref_Parent>(table_name))
PARTITION BY REFERENCE(fk_<Table_Ref_Child>_parent);

PARTITION BY REFERENCE(fk_<Table_Ref_Child>_parent)
*
ERROR at line 6:
ORA-14652: reference partitioning foreign key is not supported

Changes

 

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
References


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