HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Dynamic contacts database

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
databasecontactsdynamic

Problem

I'm trying to create a database for contacts. I must have many categories for every contact, like Home, Office, Emails, Phones. In every category one can add more than one value. Also the categories can be dynamic. How can this be designed in a database?

Solution

Check out relational database design. It's an art and a science, and something that really can't be explained to the fullest in a post. But what you should do is create relationships between contacts and all possible data that will be related to it. This is most prevalent through the use of primary and foreign key relationships.

Context

StackExchange Database Administrators Q#5088, answer score: 6

Revisions (0)

No revisions yet.