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 |
RMAN-12011: multiple records for default device type found in catalog
DRG-11410: could not insert into string result table
DRG-11849: Heuristic Expiration
ORA-07500: scglaa: $cantim unexpected return
PLS-00314: TABLE declarations are not allowed as PL/SQL local variables
ORA-32313: REFRESH FAST of "string"."string" unsupported after PMOPs
ORA-29546: badly formed resource: string
LCD-00203: missing keyword [string]
ORA-06579: Bind variable not big enough to hold the output value
ORA-02486: Error in writing trace file string
NNC-00002: error listening on stream string
ORA-07483: snlkget: cannot convert(get) lock.