Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Truncate Table with Referential Integrity - Cascade Rule Not Working

cmit0227May 18 2007 — edited May 18 2007
Hello -

I am trying to truncate a table, but I get the following message:
ORA-02266: unique/primary keys in table referenced by enabled foreign keys

I understand what it's saying, but I thought this particular constraint wouldn't apply here because I have an on delete cascade rule.

Does anyone know why the cascade isn't working?

Thanks,
-Christine
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 15 2007
Added on May 18 2007
7 comments
3,005 views