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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:54:36+00:00 2026-05-17T18:54:36+00:00

What would be the best database/technique to use if I’d like to create a

  • 0

What would be the best database/technique to use if I’d like to create a database that can “add”, “remove” and “edit” tables and columns?

I’d like it to be scaleable and fast.

Should I use one table and four columns for this (Id, Table, Column, Type, Value) – Is there any good articles about this. Or is there any other solutions?

Maybe three tables: One that holds the tables, one that holds the columns and one for the values?

Maybe someone already has created a db for this purpose?

My requirements is that I’m using .NET (I guess the database don’t have to be on windows, but I would prefer that)

  • 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-17T18:54:36+00:00Added an answer on May 17, 2026 at 6:54 pm

    Since (in comments on the question) you are aware of the pitfalls of the “inner platform effect”, it is also true that this is a very common requirement – in particular to store custom user-defined columns. And indeed, most teams have needed this. Having tried various approaches, the one which I have found most successful is to keep the extra data in-line with the record – in particular, this makes it simple to obtain the data without requiring extra steps like a second complex query on an external table, and it means that all the values share things like timestamp/rowversion for concurrency.

    In particular, I’ve found a CustomValues column (for example text or binary; typically json / xml, but could be more exotic) a very effective way to work, acting as a property-bag for the additional data. And you don’t have to parse it (or indeed, SELECT it) until you know you need the extra data.

    All you then need is a way to tie named keys to expected types, but you need that metadata anyway.

    I will, however, stress the importance of making the data portable; don’t (for example) store any specific platform-bespoke serialization (for example, BinaryFormatter for .NET) – things like xml / json are fine.

    Finally, your RDBMS may also work with this column; for example, SQL Server has the xml data type that allows you to run specific queries and other operations on xml data. You must make your own decision whether that is a help or a hindrance ;p


    If you also need to add tables, I wonder if you are truly using the RDBMS as an RDBMS; at that point I would consider switching from an RDBMS to a document-database such as CouchDB or Raven DB

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

Sidebar

Related Questions

I would like to learn the best practices to employ when creating a database
(please excuse that I didn't use aliases). I would like my query output to
I'm wondering what would be the best prectice regarding mainataining connections to the database
What would be the best algorithm for finding a number that occurs only once
I am creating a lightweight, single-file database administration tool and I would like to
I would like to update my SQL lite database with the native update-method of
I would like to remove/delete a migration file. How would I go about doing
i have to write small java database application with several tables. With that i
When requesting hardware for a WebLogic server, what hardware would best improve its performance?
I have the following situation I think would be best to show in sample

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.