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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:47:29+00:00 2026-05-15T06:47:29+00:00

I want to write an enterprise software and now I’m in the DB design

  • 0

I want to write an enterprise software and now I’m in the DB design phase. The software will have some master data such as Suppliers, Customers, Inventories, Bankers…

I considering 2 options:

  • Put each of these on one separate table. The advantage: the table will have all necessary information for that kind of master file (Customer: name, address,…/Inventory: Type, Manufacturer, Condition…). Disadvantage: Not flexible. When I want to have a new type of master data, such as Insurer, I have to design another table.

  • Put all in one table and this table have foreign key to another table which have type of each kind of master data (table 1: id, data_type, code, name, address….; table 2: data_type, data_type_name). Advantage: flexible – if I want more master data such as Insurer, I just put in table 2: code: 002, name: Insurer, and then put detail each insurer into table 1). Disadvantage: table 1 must have sufficient field to store all kind of information including: customer name, address, account, inventory’s manufacturer, inventory’s quality…).

So which method do you usually do (or you think work better).
Thank you very much

  • 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-15T06:47:30+00:00Added an answer on May 15, 2026 at 6:47 am

    I would advise creating separate tables for each entity type – it will be a lot easier to maintain in the future when you discover things you want to add for one entity type that don’t apply to the others. If all of the entities (Suppliers, Customers, etc) are going to have the same fields and the only difference is their type then you could theoretically use one table. However, I would expect that there would be enough differences between the entity types that it would be worth creating separate tables for each. If there are several fields in common (e.g. address information) you could create a table for the common elements and have a foreign key in the individual tables to the table with the common data (e.g. AddressID).

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

Sidebar

Related Questions

I want write a simple query which will fetch data from a table (which
I have sql select for which I want write criteria. I was googling some
I have 2 editText objecst in my android application. I want write to such
we have a lot of users on a VBulletin forum. now i want write
So I have a project and we have some data access requirements. This is
I want write jquery code that will show form inputs after a checkbox is
I have whole page HTML in my database and i want write that html
I want to write a PHP script similar to Enterprise Network Console , but
I want write an win-form application to convert data from foxpro table into sql
I Want to configure Enterprise Library Logger to write to a file until it

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.