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!

How does Oracle determine a table as key-preserved or not?

804267Dec 19 2010 — edited Dec 19 2010
I tried joining employees and departments in HR schema. Normally, departments is not key-preserved in the join operation. But I've arranged in the view so that each department has exactly one employee, so that dept_no may become the key for the join. But still, it said "cannot modify non key-preserved table". Any hints? does the joining type (left or right or inner or outer) affect the mechanism on how Oracle determine which are key-preserved and which are not? thanks.
This post has been answered by Pavan Kumar on Dec 19 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 16 2011
Added on Dec 19 2010
9 comments
396 views