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

NZE-29051: The given public key type is not supported.

1 Answers  


ORA-28235: algorithm not available

1 Answers  


SQL*Loader-00283: file processing string "string" ignored for INFILE *

1 Answers  


ORA-04092: cannot string in a trigger

1 Answers  


ORA-09987: unable to attach to SGA in READ-ONLY mode

1 Answers  






ORA-02700: osnoraenv: error translating ORACLE_SID

1 Answers  


NCR-04012: NCRR: Invalid address descriptor

1 Answers  


EXP-00035: QUERY parameter valid only for table mode exports

1 Answers  


PLS-00132: Pragma RESTRICT_REFERENCES does not support string

1 Answers  


ORA-13209: internal error while reading SDO_INDEX_METADATA table

1 Answers  


QSM-00799: the user-defined workload table string cannot be found

1 Answers  


ORA-16736: unable to find the destination entry of standby "string" in V$ARCHIVE_DEST

1 Answers  


Categories