You are here: Re: Help with phoneBook db design « MsSQL Server « IT news, forums, messages
Re: Help with phoneBook db design

Posted by Doug on 10/04/23 11:34

you have people. first name, last name, address, and identity, i'll
call "peopleid."
you have a "phone number.". the actual number, and something i'll call
"phoneid."

you have a cross reference table of "assignedphone." in that table
will be AssignedID, peopleid, phoneid, adn perhaps startdates,
enddates, etc.

You will have a different cross reference table of "distribution."
DistributionID, and another peopleID for the "owner of the distribution
list." Here it gets a little interesting. If your distribution list is
a list of phone numbers, then include PhoneID's. If your distribution
list is a list of people, then include teh peopleID's. For the latter
case, use the assignedphone to go get the assigned phones, then off to
the phonenumbers to get the actual numbers.

Start there. When you have mastered the logic, then grow the app to
include the second order distribution lists. this is enough to get you
started though.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация