Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: FKs, UKs and PKs
When the UK is built on a business value that needs to be carried in the child table and the PK of the parent is an artificial key is one situation where this may happen.
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Charlotte Hammond
Sent: Wednesday, November 15, 2006 6:57 AM
To: oracle-l_at_freelists.org
Subject: FKs, UKs and PKs
Hi All,
I've got a quick Data modelling concepts question: Under what circumstances would you create a FK that points to a UK instead of the PK?
I can see how you can sometimes save a table join if the UK data is "meaningful" but the PK is a sequential id. But is this purely a denormalization technique or can such a FK->UK relationship exist in a normalized schema?
Thanks for any comments,
Charlotte
Don't quit your job - take classes online www.Classesusa.com
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Nov 15 2006 - 08:35:35 CST
![]() |
![]() |