ORA-02266: unique/primary keys in table referenced by
enabled foreign keys



ORA-02266: unique/primary keys in table referenced by enabled foreign keys..

Answer / guest

Cause: An attempt was made to truncate a table with unique
or primary keys referenced by foreign keys enabled in
another table. Other operations not allowed are
dropping/truncating a partition of a partitioned table or an
ALTER TABLE EXCHANGE PARTITION.

Action: Before performing the above operations the table,
disable the foreign key constraints in other tables. You can
see what constraints are referencing a table by issuing the
following command: SELECT * FROM USER_CONSTRAINTS WHERE
TABLE_NAME = "tabnam";

Please add more information about this Error

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

RMAN-06429: %s database is not compatible with this version of RMAN

1 Answers  


DRG-11828: Conflict

1 Answers  


NPL-00313: requested form string does not match actual form string

1 Answers  


NNC-00002: error listening on stream string

1 Answers  


ORA-24362: improper use of the character count flag

1 Answers  






ORA-23325: parameter type is not string

1 Answers  


ORA-19601: output file is string string (string)

1 Answers  


ORA-14003: GLOBAL clause contradicts previosly specified LOCAL clause

1 Answers  


PLS-00493: invalid reference to a server-side object or function in a local context

1 Answers  


NNL-01011: Forwarding contexts freed: number

1 Answers  


ORA-37122: AW Session cache disabled

1 Answers  


ORA-31407: end_date must be greater than the begin_date

1 Answers  


Categories