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 > Is this a good design?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-11-09, 01:25
datanewbie datanewbie is offline
Registered User
 
Join Date: Jun 2009
Posts: 1
Question Is this a good design?

I'm just learning about database design and I'm working on a contact management app for work. I'm reviewing schemas online for thoughts on best practices when I found the following design:

Contacts and Products

It looks simple but then the Communications table has three foreign keys that's always been a no-no. In the world of "we need something now" is this a workable schema, or is there a better implementation?
Attached Thumbnails
Is this a good design?-contacts_conceptual.gif  
Reply With Quote
  #2 (permalink)  
Old 06-11-09, 01:32
dportas dportas is offline
Registered User
 
Join Date: Dec 2007
Location: London, UK
Posts: 732
Quote:
Originally Posted by datanewbie
It looks simple but then the Communications table has three foreign keys that's always been a no-no.
Why? Actually I can see six but that doesn't make it "wrong".

If contacts is what you are looking for then take a look at Fowler's party data model:

A Universal Person and Organization Data Model
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