ORA-02266: unique/primary keys in table referenced by
enabled foreign keys
Answer Posted / 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 View All Answers
ORA-07497: sdpri: cannot create trace file 'string'; errno = string.
[ERROR] [main 11:01:20] (JCLLoggerAdapter.java:error:454) Unsuccessful: alter table user.CEN_USER_MASTER add constraint FKF4EDEDC3D0BAAE75 foreign key (ROLE_ID) references user.CEN_ROLE_MASTER [ERROR] [main 11:01:20] (JCLLoggerAdapter.java:error:454) ORA-02275: such a referential constraint already exists in the table
ORA-26094: stream format error: input column overflow
ORA-16626: failed to enable specified object
ORA-26030: index string.string had string partitions made unusable due to:
ORA-26084: direct path context already finished
IMP-00096: Warning: Skipping table "string"."string" because type synonym "string"."string" cannot be created
IMP-00070: Lob definitions in dump file are inconsistent with database.
ORA-26028: index string.string initially in unusable state
IMG-02003: 2FF03 - incorrect color histogram feature specification
ORA-16516: The current state is invalid for the attempted operation.
IMP-00060: Warning: Skipping table "string"."string" because object type "string"."string" does not exist or has different identifier
if the lengths of two wires are same and the area of cross sections is 4:7 then what will be the ratio of current passing through these wires
ORA-26076: cannot set or reset value after direct path structure is allocated
NZE-28890: Entrust Login Failed