Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Is this JOIN good ?
David Portas wrote:
> DA Morgan wrote:
>> If A.FK and B.FK are both lookups to tables holding the same set of >> values I'd say you have a design flaw.
>> Well that and the fact that you can not write a foreign key to two >> different tables from the same column.
My error. Typed before thinking. Oracle does allow it.
But it is a bad design as it forces the columns in table a and b to contain identical information and thus they would be redundant. Remember to comply with 3NF "all non-key fields are dependent on the primary key" and surely the primary keys in tables a and b are not identical.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Tue Oct 17 2006 - 10:17:54 CDT