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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T13:27:45+00:00 2026-05-19T13:27:45+00:00

I am working on a database model and one of the areas I need

  • 0

I am working on a database model and one of the areas I need to address is a client configurable checklist table(s). Ideally the client would have a set of predefined checklists that I could then enter as bit columns. Alas, this is not going to happen. The client wants the ability to add and group checklists so they are reusable.

I could go with an EAV type model and use strings for “true/false” but I’ve been down this road before and would rather not take that journey again.

Any thoughts or suggestions are welcome. Thanks.

  • 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-19T13:27:46+00:00Added an answer on May 19, 2026 at 1:27 pm

    “Client Configurable” almost always means EAV. EAV’s store data fine… it’s just getting the data back out that’s the trick.

    😉

    The other… somewhat-less objectionable approach is to make generic columns. Answer1 BIT, Answer2 BIT, Answer3…

    If you do this, then make a table where you define the real names of the columns so that you could build the correct view for any given check list.

    Say the first check list is

    • Gas in the tank?
    • Money in the Wallet?

    Then store

     CheckList_ID     Answer_Number     Column_Name
         1                 1              Tank has Gas
         1                 2              Wallet has Money.
    

    Then the view would be:

     SELECT Answer1 "Tank has Gas", Answer2 "Wallet has Money"
      FROM Generic_Answer_Table
      WHERE CheckList_ID = 1
    

    It obvious how the view would be dynamically generated.

    The downside is that if you include 10 columns they can’t have more than 10 EVER.

    XML is the other possibility and doesn’t suffer that issue… however it’s not quite as SQL friendly.

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

Sidebar

Related Questions

I'm working on SaaS application that uses the one DB per client model. It
At the moment I'm working on a very big database model for one of
Ok so I'm starting on normalising my database. Currently I have one model Products
I am working on the data model for a relational database where I have
I am working on a database model that will hold meta data about a
I have a database working in my local sql server 2005 express edition. I
I'm working on database migration program and I'm trying to migrate one database to
Does anybody have an example of working with database using Visual C++ and OLEDB?
I have a working model, but have noticed that the relationship has been created
I have a database with several tables, each one containing columns that may not

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.