If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Entity Relationship models with multiple links berween 2 tables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-20-05, 08:17
britonk britonk is offline
Registered User
 
Join Date: Jun 2004
Posts: 10
Cool Entity Relationship models with multiple links berween 2 tables

Someone is going to read this and think "this guys thick" I'm sure bu anyway:

I have an ERM part of which is two entities Fault and User . Each fault is raised by a specific user and closed by the same or another user.

On the ERM should I have two entities with two links or three entities (one "Fault" and two "User"'s with two links?

I was thinking if I only have two entities then surly this would indicate that the fault has to be raised and closed by the same user?

Would appreciate any help.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 01-20-05, 08:53
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
Two entities with two relationships would work:

Code:
 _______                        ______
|       | raised by            |      |
|       |>---------------------|      |
|       |               raises |      |
| FAULT |                      | USER |
|       | closed by            |      |
|       |>---------------------|      |
|_______|               closes |______|
(Excuse the ASCII artwork!)
__________________
Tony Andrews
http://tinyurl.com/tonyandrews
Reply With Quote
  #3 (permalink)  
Old 01-20-05, 11:46
britonk britonk is offline
Registered User
 
Join Date: Jun 2004
Posts: 10
Wink

Nicley done! Cheers mate.

Brian
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On