Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Partition exchange ORA-02266

Partition exchange ORA-02266

From: Xela <abuse_at_yahoo.com>
Date: Tue, 1 Feb 2005 11:25:03 +0100
Message-ID: <ctnk20$haj$1@reader1.imaginet.fr>


Hello,

I have a problem. I try do do a partition exchange from an empty non partitionned table with a non empty partition of a partitionned table. I have this message :
ORA-02266: unique/primary keys in table referenced by enabled foreign keys I understand the meaning of this message but, I can't find any enabled foreign key related to the exchanged table : the request

select constraint_name, table_name, status from user_constraints
where r_constraint_name in (
select constraint_name from user_constraints where table_name ='tabnam');

returns only disabled foreign keys. However, I am able to truncate the partition of the partitionned table and I can the proceed to the exchange. But this process is not useful.
I use Oracle 9.2.0.1.0 on Windows XP pro. Any clue?

Many thanks for your attention.

    Alexandre Received on Tue Feb 01 2005 - 04:25:03 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US