Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4030354
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:27:38+00:00 2026-05-20T11:27:38+00:00

What would be the best database setup for a small contact management type website?

  • 0

What would be the best database setup for a small “contact management” type website? It is going to be used internally only (intranet), and I’m using ASP.NET 3.5 and SQL Server.

The database stores information about people we are in contact with, companies they work for, etc. Many people can work for the same company (n:1), but people might also work for several companies (n:m). People can have multiple email addresses and telephone numbers. Companies can have multiple offices at different locations, etc. The database design has to be flexible enough to add new fields at a later point.

I know of several different approaches, but I don’t know which will be the best.

  • Very classic, different table for different subjects (people, companies), with lots of fields like “email1”, “email2”, and tables to relate the subjects (what people work in what companies) when there can be n:m relationships. Additional fields (“email3”) can be added later on without problem. Will have many empty fields since you have to take into account the maximum number of email addresses any person may have.
  • Separate tables for things like email addresses, that link back to the people table. Can be problematic if (for example) the original design only requires one telephone number, and at a later point it is decided to handle telephone numbers like email addresses in a separate table. May end up with lots of different tables. But the design is relatively space-efficient (few empty fields).
  • Adjacency list model, where every property has it’s own record in the table, and an ID pointer to the main record. For example, name, address, all email addresses, all telephone numbers, etc are stored as separate records pointing to the same main personal record. The database won’t have empty fields at all, and there is lots of freedom for additional structures later on.
  • All data stored as XML in the SQL Server database (using the XML data type)?
  • Or just plain XML files?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:27:38+00:00Added an answer on May 20, 2026 at 11:27 am

    I would suggest a relational database. your project seems simple enough to be addressed by just having the right tables with the right relationships. I would stay away from XML since the data is going to be consistent. XML is better for data with unpredictable structures, like for example a family tree. A database will perform better and it will be easier to maintain. It’s also easier to report on data when is in a RDB as opposed to XLM format.
    It’s good practice to code with scalability in mind. If you are managing contacts I can guarantee you they will need multiple phones at some point.

    Adjacency list model is better for when you have a growing number of properties but the structure is simple. For example a profile where you have n number of questions and answers but they all tie back up to one user.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What would be the best database design for employee clocking and out? Right now
I want to make a code snippet database web application. Would the best way
I'm wondering what would be the best prectice regarding mainataining connections to the database
I would like to learn the best practices to employ when creating a database
I would like to ask you what is the best setup for a following
I am trying to work out the best database model for the current setup:
I'm trying to figure out the best way to setup my database and models
I'm currently developing a small WPF application using a file database (SQLCe). Since I'm
When requesting hardware for a WebLogic server, what hardware would best improve its performance?
Best would be if it performs the highlighting exactly as it is in Visual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.