Hi all,
I am reading J. Hoffer’s Database Management book and need your opinions on the following supertype/subtype relationship concept.
This book suggested using the different modified forms of Supertype’s Primary Key for Subtypes as foreign key. For example, if the supertype PK is ABC_ID, we should use
A_ABC_ID for subtype A
B_ABC_ID for subtype B
C_ABC_ID for subtype C
I made and uploaded a low-resolution image of related paragraphs and diagrams at the following address:
http://www.geocities.com/fellowreade...stionimage.htm
or
geocities.com/fellowreaderz/questionimage.htm
My question is:
1) When the subtypes have no overlap (like the example in the book), why can’t we use the unchanged supertype’s PK (ABC_ID) (without adding the discriminators) in all subtypes? Like ordinary one-to-one relationships?
Any help and comment would be appreciated.
Thanks
Sam
.