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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:25:08+00:00 2026-05-16T20:25:08+00:00

In our application user can create different lists (like sharepoint) for example a user

  • 0

In our application user can create different lists (like sharepoint) for example a user can create a list of cars (name, model, brand) and a list of students (name, dob, address, nationality), e.t.c.

Our application should be able to query on different columns of the list so we can’t just serialize each row and save it in one row.

Should I create a new table at runtime for each newly created list? If this was the best solution then probably Microsoft SharePoint would have done it as well I suppose?

Should I use the following schema

Lists (Id, Name)
ListColumns (Id, ListId, Name)
ListRows (Id, ListId)
ListData(RowId, ColumnId, Value)

Though a single row will create as many rows in list data table as there are columns in the list, this just doesn’t feel right.

Have you dealt with this situation? How did you handle it in database?

  • 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-16T20:25:08+00:00Added an answer on May 16, 2026 at 8:25 pm

    Perhaps a potential solution would be the creating of lists can involve CREATE TABLE statements for those entities/lists?

    It sounds like the db structure or schema can change at runtime, or at the user’s command, so perhaps something like this might help?

    • User wants to create a new list of an entity never seen before. Call it Computer.
    • User defines the attributes (screensize, CpuSpeed, AmountRAM, NumberOfCores)
    • System allows user to create in the UI
    • system generally lets them all be strings, unless can tell when all supplied values are indeed dates or numbers.
    • build the CREATE scripts, execute them against the DB.
    • insert the data that the user defined into that new table.

    Properly coded, we’re working with the requirements given: let users create new entities. There was no mention of scale here. Of course, this requires all input to be sanitized, queries parameterized, actions logged, etc.

    The negative comment below doesn’t actually give any good reasons, but creates a bit of FUD. I’d be interested in addressing any concerns with this potential solution. We haven’t heard about scale, security, performance, or usage (internal LAN vs. internet).

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

Sidebar

Related Questions

In our client/server application, a user can log in using a username/password. The server
A user reported to us that some strange behaviour in our application can be
In our application, I have seen code written like this: User.java (User entity) public
Our application allows administrators to add User Properties in order for them to be
In our application, we allow user's to write their Bio using a WYSIWYG editor,
I want to add a feature to our application that let's a user know
In our VB6 application, when the user's default printer is set to Microsoft Office
in our AIR application, I want to user to be able to download a
We need a special user control for our web application. It should ideally look
If we want in our WPF application to let a user make a SQL

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.