Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Database Design - Tricky

Database Design - Tricky

From: Van Messner <vmessnerNOvmSPAM_at_discovernet.com.invalid>
Date: 2000/07/21
Message-ID: <279730c0.91eee10f@usw-ex0106-046.remarq.com>#1/1

Imagine three tables C, R and B. C has a primary key of CKEY, R is RKEY and B is BKEY.

Another table NEWS has a primary key of NEWSKEY.

C, R and B can all be associated with zero to many NEWS items. Any NEWS item can be associated with C and/or R and/or B.

One model is to put an intersection table between NEWS and C, NEWS and B, and NEWS and R.

But when I add more tables at the level of C, R and B then I will need more intersection tables. Is there a more elegant solution? Please be specific about which would be the key and foreign key columns of any alternative solution.

Many thanks,

Van


Got questions? Get answers over the phone at Keen.com. Up to 100 minutes free!
http://www.keen.com Received on Fri Jul 21 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US