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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:28:15+00:00 2026-05-12T14:28:15+00:00

I think I’ve worked myself into a pretty stupid corner, here. Let me show

  • 0

I think I’ve worked myself into a pretty stupid corner, here. Let me show you the schema. I’ve got a lot of things around it already but I’ve suddenly realized a big problem.

Units
- UnitId

Rings
- RingId

Keys
- RingId (FK)
- KeyId (PK)
- KeyLiteral (FK)
- KeyValue

Literals
- LiteralId
- LiteralValue

It was good for a while. Basically, Units are created and then given a KeyRing. To that ring, keys are added and each key can have a value and an ID of a literal (to prevent duplication).

This was wonderful, great. Worked perfectly. Could add new properties to items without a hitch, no more hardcoded tables for it. Huzzah.

Then I realized some items needed to be a value from a list of possible items. Okay, no problem.

Lists
- ListId

ListItems
- ListId (FK)
- ListItemId (PK)
- ListItemValue

Oh yeah, now I have a way to make lists. But …….
That doesn’t really help, if it’s just a string value in my KeyValue that is returned from a List. If the ListItemValue changes, we don’t really solve anything. So I could use the ListItemId in the KeyValue.

But then I have to figure out how to get the ListItemValue out of the ListItems table when calling a Key by nothing but it’s Literal name. Also, not all Keys will be related to a list.

Any ideas?

  • 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-12T14:28:15+00:00Added an answer on May 12, 2026 at 2:28 pm

    “Identify your entities & build tables to support them.”

    “That isn’t possible for this project.”

    If that is really so, then don’t try to use relational database technology. The relational model was conceived as a general-purpose data management model in which data/information requirements were assumed to be very much stable.

    If your user changes requirements faster than he changes his undies, then relational technology is not a suitable option for trying to meet his requirements.

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

Sidebar

Related Questions

Think the title describes my thoughts pretty well :) I've seen a lot of
I think most people here understand the importance of fully automated builds. The problem
I think I've got it down to the most basic case: int main(int argc,
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I think this has probably been asked, but after reading a lot, I'm not
I think I'm missing something basic here. Why is the third IF condition true?
Think about a rectangular div, which is split into 2 parts, each part is
I think that I am stuck with this particular situation: Here are my tables:
I think I'm missing something basic here. Any explanation or pointers to previously asked
I think this should be an easy problem to solve, however its turned into

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.