Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Contact Manager with Variable properties

Author  Topic 

rickrehorst
Starting Member

7 Posts

Posted - 2009-11-18 : 13:17:57

Ik am writing a study case in VB .Net as a web application
I choose to make a Contact manager with a Company and a persons table

Table 1
Company
PKey CompanyID

Table 2
Person
Pkey PersonID
Fkey CompanyID

1 company can have 0 or more persons connected
1 person can have 0 or 1 company connected

I want to give a person besides the default Name, address, zipcode, City properties Also some (probably but not a must)Boolean group properties on which selections can be made to select persons

Now in table persons I just made 6 fixed boolean fields. but that is not very flexible

In he database design, how can you implement variable groups where people (and maybe company's can be a member of?

   

- Advertisement -