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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:29:48+00:00 2026-05-10T19:29:48+00:00

In a database prototype, I have a set of fields (like name, description, status)

  • 0

In a database prototype, I have a set of fields (like name, description, status) that are required in multiple, functionally different tables.

These fields always have the same end user functionality for labeling, display, search, filtering etc. They are not part of a foreign key constraint. How should this be modeled?

I can think of the following variants:

  • Each table gets all these attributes. In this case, how would you name them? The same, in each table, or with a table name prefix (like usrName, prodName)

  • Move them into a table Attributes, add a foreign key to the ‘core’ tables, referencing Attributes.PK

  • As above, but instead of a foreign key, use the Attributes.PK as PK in the respective core table as well.

  • 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. 2026-05-10T19:29:49+00:00Added an answer on May 10, 2026 at 7:29 pm

    it sounds like you might be taking the idea of normalization a bit too far. remember, it’s the idea that you’re reducing redundancy in your data. your example seems to indicate you’re worried about ‘redundancy’ in the meta information of your database design.

    ultimately though, user.name and user.description are functionality different from product.name and product.description, and should be treated as such. for status, it depends what you mean by that. is status just an indicator of a product/user’s record being active or not? if so, then it could make sense to split that to a different table.

    using the info you provided, if ‘active/expired/deleted’ is merely an indication of state within the database, then i’d definitely agree with a table structure like so:

    users            products         status   id               id               id   name             name             name   description      description   status_id        status_id 

    however, if status could conceivably be altered to represent something semantically different (ie, for users, perhaps ‘active/retired/fired’, i’d suggest splitting that up to future proof the design:

    user_status     product_status   id              id   name            name 

    in short, normalize your data, not your database design.

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

Sidebar

Ask A Question

Stats

  • Questions 65k
  • Answers 65k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer NEW answer: Override the WndProc and block the WM_PAINT message… May 11, 2026 at 11:08 am
  • added an answer QueryExpression doesn't support this. You'll need to use Fetch XML.… May 11, 2026 at 11:08 am
  • added an answer There is a subtle difference. If you specify a field… May 11, 2026 at 11:08 am

Related Questions

In a database prototype, I have a set of fields (like name, description, status)
In a database-centric application that is designed for multiple clients, I've always thought it
In a recent project the lead developer designed a database schema where larger tables
For a given form in a database, is there a quick/easy way to find
I have a field in a database that is nearly unique: 98% of the
I have a table in a database that represents dates textually (i.e. 2008-11-09) and
I have a name in a database, lets say its DFectuoso and some legacy
I have a database which holds the residents of each house in a certain
I have a Database table that I want to display in a DataGridView. However,
I have a string column in a database table which maps to an Enum

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.