Re: business users services
> the b_user column of the busers_services table will have the same value for 3 rows
The relational model tries to minimise redundant representation, not recurring real world data. What you describe is the latter, not the former. Not an issue.
> Two different B_users may offer the same service
Again, if you analyse such issues from Codd's relational the point of view, the most efficient way to represent such facts is to store keys that point to the data that recurs, which is what bridge tables like busers_services so efficiently do.
And whether you declare those keys Foreign Keys depends not on whether you "like" Foreign Keys, but rather on whether the requirement is that (i) the database engine enforce such constraints, which is usually more efficient, or (ii) application software do all such enforcement ensuring that buser_services column values point at existing user and service values.
Subject
Written By
Posted
Re: business users services
August 03, 2014 04:01PM
September 03, 2014 01:55AM
September 05, 2014 01:22PM
September 22, 2014 11:43AM
September 25, 2014 04:07PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.