|
-
 Originally Posted by Unna
I have a table that recently I found it has orphan records with the foreign key is enable and validate.
 Originally Posted by Unna
I tried to delete and recreate the foreign key, and I was able to do so, I also tried to validate the constraint and was able to do that too.
The two statemets above contradict each other.
You cannot have orphans and at the same time being able to successfully drop/create the FK with validate option.
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|