DB design basic question
From: Francois (francois_at_bettinghouses.com_NOSPAM)
Date: 01/14/05
- Next message: Marc: "A query where two tables are linked to the same another table"
- Previous message: Hugo Kornelis: "Re: FK to part of PK?"
- Next in thread: MattC: "Re: DB design basic question"
- Reply: MattC: "Re: DB design basic question"
- Reply: Ibrahim Shameeque: "RE: DB design basic question"
- Reply: Francois: "Re: DB design basic question"
- Reply: --CELKO--: "Re: DB design basic question"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 14 Jan 2005 16:06:42 +0700
Hi,
I would like to know how i can relate 2 tables knowing that their relation
is a one-to-one relationship.
It is something like: A department HAS A manager.
Department and manager have different PK and then I cannot have the table
sharing to same PK to model my one-to-one relationship.
But if i just use a foreign key, then it will make a one-to-many
relationship, then how can I solve my problem?
Best regards,
Francois
- Next message: Marc: "A query where two tables are linked to the same another table"
- Previous message: Hugo Kornelis: "Re: FK to part of PK?"
- Next in thread: MattC: "Re: DB design basic question"
- Reply: MattC: "Re: DB design basic question"
- Reply: Ibrahim Shameeque: "RE: DB design basic question"
- Reply: Francois: "Re: DB design basic question"
- Reply: --CELKO--: "Re: DB design basic question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|