Stepwise-Lab

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

You cannot TRUNCATE a parent table while enabled foreign keys reference it and child rows exist.

On the exam

This error belongs to the topic DML and transactions of exam 1Z0-071.

In the SQL lab the same explanation appears next to your own statement, with a hint about what to change in it.

All Oracle errors