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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:13:56+00:00 2026-05-31T07:13:56+00:00

What would be the best practice to store alternate names for entities and link

  • 0

What would be the best practice to store alternate names for entities and link them to a “master” record for rolling up data?

For example, I have a list of companies;

id name
1  Orange Kid Industries
2  Apple Kid Inc.
5  O.K.

Company 5 O.K. is an alternate name for 1 Orange Kid Industries. These companies need to be stored discreetly so that if a child record needs to be tied to 5 and not 1, (in the interest of storing historical data if the company name changed for instance,) it can.

I need to tie 5 O.K. back to 1 Orange Kid Industries as the “master” record so, when looking at all children of 1 Orange Kid Industries, I see all children of 1 and 5 combined.

I’m leaning toward a required master ID for all records. If a user creates a new company 6 Moldy Orange Kid Industries, he can assign it a master ID of 1 to signify that this is just another name for 1 Orange Kid Industries.

id name                        master
1  Orange Kid Industries       1
2  Apple Kid Inc.              2
5  O.K.                        1
6  Moldy Orange Kid Industries 1

This seems to be the simplest route without requiring much redundant data. Are there any downsides to this approach?

  • 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-31T07:13:58+00:00Added an answer on May 31, 2026 at 7:13 am

    That seems like a good solution to me. The only think I might change is to leave master null if a record is it’s own master. Probably not a huge deal, but seems like a potential infinite loop pitfall.

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

Sidebar

Related Questions

What would be best practice for allowing the user to store data for my
What would be best practice for the following situation. I have an ecommerce store
What would you consider best practice to store constants (like file names for property
What's best practice for a WPF windows application re where to store confirm data
What would be best practice to localize your ASP.NET MVC application? I would like
Hey all, what would be best practice for clipping the bottom borders of a
What would be the best practice to keep the user logged in if he
What would be the best practice for sharing localization object (in this case ResourceBundle,
Would it be considered best practice to use a single template that changes it's
What's the best practice of making a variable that would be accessible by almost

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.