Database Administration (MOSC)

MOSC Banner

Orphanage Chid Record without Master

edited Jun 13, 2011 11:24AM in Database Administration (MOSC) 6 commentsAnswered
Hi Guys,
We have a child record without the master record in the database. We know that as long as foreign key constraint enabled this is not possible so we query the table and found that foreign key constraint is enabled and validated, to make sure oracle that Oracle constraint validation is working properly in 11gr2 on linux 64 bit database we disabled the FK constraint and tired to enable it again while orphan record exists it has failed which is fine by us and we can confirm that the FK constraint validation is working now.

However we are unable to find the root cause; how our master record got deleted while child record existed with FK constraint enabled. Can anyone list all the possbile scenarios?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center