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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:14:14+00:00 2026-05-15T08:14:14+00:00

Is there a proper term in data modeling to describe the following? Given table

  • 0

Is there a proper term in data modeling to describe the following?

Given table [order] table with an [order_status] column, which when first conceived has 5 acceptable values, obviously having 5 different meanings and at least > 1 behavior (but not necessarily 5 different behaviors) from an application perspective.

One would typically determine the explicit differences (especially that drive application behavior) between the acceptable values and create a lookup table with explicit columns defined to declare this fact for eack lookup table. For example, one might have [is_valid], [is_outstanding], [is_onhold] columns. And subsequently, both sql and application code would act upon these attribute columns, rather than using hardcoded references to the acceptable [order_status] values themselves, ie:

— get all active orders (using hardcoded values)
select * from order where order_status in (‘new’, ‘approved’, ‘on_hold’, ‘requires_confirmation’)

So, is there a proper term to refer to this practice?

Update

Of course this is simple logical common sense application design that one learns via experience, but I am hoping there happens to be a proper formal term for the practice (preferably within the domain of data modeling) documented somewhere to which I can refer a relatively inexperienced but overconfident consultant over whom I have no direct authority.

  • 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-15T08:14:15+00:00Added an answer on May 15, 2026 at 8:14 am

    When code flow is determined by (potentially) mutable data in a table somewhere I’ve always seen this in the literature as “data-driven code”. State machines are classic examples, programs like file(1) which mostly work from the contents of /etc/magic are another.

    If that doesn’t please, I’d pillage terminology from the Prolog literature.

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

Sidebar

Related Questions

Maybe there is a proper term for this, but what if you want to
I'm not sure if there is a proper term for what I want to
There is a column that exists in 2 tables. In table 1, this column
function foo($bar,$barbar,$option=) {} Is there a proper term for $bar etc., and/or name for
Is there a proper way, equation or technique in general to say, My web
Is there a proper way yet to unit test views with the aspx view
is there are proper subversion client for ruby, that could be used to manage
I wonder, if there is a proper way to remove the default close button
There have been several questions over the past few days about the proper use
I'm new to coffeescript, and while there is extensive information concerning the proper method

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.