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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:00:35+00:00 2026-05-16T23:00:35+00:00

Maybe i’m going about this wrong but my working on a database design for

  • 0

Maybe i’m going about this wrong but my working on a database design for one of my projects.

I have an entity with a classification column which groups up entities into convenient categories for the user. These classifications are predefined and unchangeable by the user (at least thats the current design).

I’m trying to decide if I should have a ‘EntityClassification’ table which contains simply an ‘Id’ column as the primary key with no other information in order to have an enforced relationship between the Entity:Classification -> EntityClassification:Id.

I don’t plan to have a name/description column in EntityClassification since my current thought is that I’ll need to support localization of these pre-defined names which will be done with static string table like resource files downloaded to the client based on their country/language. There really isn’t any other data which is associated with this EntityClassfication that I would want and a table seems like it might be an overkill?

Is this common/recommend practice for this type of problem? We’re using SQL Server 2008 and don’t have an enum datatype for the database which would seem to be really what i’m trying to achieve.

  • 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-16T23:00:35+00:00Added an answer on May 16, 2026 at 11:00 pm

    Do you just want to ensure that the values in Entity:Classification are restricted to your pre-determined list? If so a check constraint might be what you need.

    Such constraints aren’t as flexible as foreign keys: to alter the checked values we have to drop and recreate the constraint, but then you say there are no plans to change the values so that shouldn’t matter.

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

Sidebar

Related Questions

Maybe the need to do this is a 'design smell' but thinking about another
Maybe it's wrong but I always use this query for my app: cme_only =
Maybe there is a similar question to this, but I couldn't find a one.
Maybe this is very basic, but I am all confused. I have a simple
Maybe I am being stupid, but this isn't making sense to me... I have
Maybe a silly question but here goes anyway. Example: Let's say I have one
Maybe this question is kind of silly but I have no clue how to
Maybe I'm just thinking about this too hard, but I'm having a problem figuring
Maybe this is a dumb question, but I have the following behavior in Visual
Maybe it's because of the dark outside, but I can't get this Position geom_text

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.