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!

before delete trigger and foreign key relationship

684135Apr 13 2009 — edited Sep 11 2009
Hi,

I am analysing one database for migration. On one parent table there is before delete trigger , to delete records from child. Also there is foreign key relationship on child table for this parent table.

When I am deleting a row from parent, message gets displayed as "there are child records found."

I would like to know, if there is foreign key relatioship then delete trigger on parent does't work, what is exactly happening?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 9 2009
Added on Apr 13 2009
5 comments
2,818 views