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

  • SEARCH
  • Home
  • 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 8211221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T10:21:22+00:00 2026-06-07T10:21:22+00:00

In my database I have a table called Person with rows for ID and

  • 0

In my database I have a table called Person with rows for ID and name and this works fine for the time being. Later on, after deployment, I realized I want a Person to also have an address (a single address per person). What is the best way to do this? Update the table with a new column for the address or create a new table Address for the address and link the two tables with a reference? Or, maybe, I should have one table Person, one table Address, and one table PersonAddressRelation with keys for both.

I know a bit about table normalization. My question is: how to build a set a tables if you predict they might change?

  • 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-07T10:21:25+00:00Added an answer on June 7, 2026 at 10:21 am

    always, in each table, use a primary, auto increment key; and make sure that you have the best db structure from the start; why ? because once you start pomping info, the db tables will increase, and you dont know how big they will get; if lets say at 10 millions info’s per table you need to add a new field, it’s ok, it will take some time … but if you try at 100 millions … you are done … game over … so , do your best from the start and always identify each information by an unique id

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

Sidebar

Related Questions

If you have, for example, a database table called Person (ID,Name etc) what kind
I have a MySQL database table called Participant that looks something like this: (idParticipant)
I have a table on my database called 'Log'. This Log table contains ID,
In my oracle database I have table called PERSON with columns code, surname, forename.
I have two table in my database. One called person and one called team.
I have the following problem: I have a table in the database called Person
I have a SQL Server 2008 database. This database has a table called Product,
I have a table called person and it contains two fields, name (TEXT) and
I have a Rails model called Person which has database table columns for first_name
In the database we have tables called Sites, Organisations, Person, Department have the same

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.