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 8794615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:16:33+00:00 2026-06-13T23:16:33+00:00

I am trying to figure out how I should go about building my database

  • 0

I am trying to figure out how I should go about building my database structure (tables) for user information on my website. The kinds of information that I will be storing (at this time anyways) are:

  • About Me
  • Birthday (January, 1, 1970)
  • Sex (Male/Female)
  • Interested In: (Male, Female, Both)
  • Relationship Status: (Single, In a Relationship, Engaged, Married)
  • Website: (mywebsite.com)
  • From: (Cupertino, California)

So this is the type of information I will be storing for now. My question basically is, should I have this be one table only? Or would it be better to split the information up depending on what it was (my users have a unique ID which would go along with each table of information, obviously). So I’m not sure if I should have a table exclusively for Birthdays with the columns: userID, Month, Day, Year; or what.

  • 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-06-13T23:16:34+00:00Added an answer on June 13, 2026 at 11:16 pm

    If a user only needs to store one piece of information for an attribute, then you don’t need a separate table for it. For example, a user only has one birthday. The only reason you would need a separate Birthdays table would be if you want to store multiple birthdays for the same userid. Each one of the attributes you’ve listed look like they’d be fine in one Users table.

    As for splitting up Birthdays into the columns: userID, Month, Day, Year, it all depends on how you’re going to use that information. Will you ever need to know just the Month, Day, or Year that a user’s birthday falls on? If that’s a common need, you might want to store them separately. It’s usually not, so you probably just want to store it as a single Date value.

    Note: You can take a look at the schema used by Stack Overflow by checking out the Data Explorer. They keep a similar collection of data in one Users table.

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

Sidebar

Related Questions

I am trying to figure out where should I put database operation for each
I am trying to figure out what type of structure or container I should
I'm trying to figure out what datatype I should use in my database to
I'm trying to figure out what logic should go into the different UIViewController methods
I'm trying to figure out if I should continue on with a current pattern
Trying to figure out the best way to do this: Should I do something
Trying to figure out why my recipient multiselect isn't validating on form submission. Should
I'm trying to figure out how my iOS app should work after Facebook make
I am trying to figure out under what circumstances I should use weak (non-identifying)
I'm trying to figure out how my new app should handle data. In previous

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.