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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:12:25+00:00 2026-06-17T20:12:25+00:00

We are developing a .NET application with a SQL Server back-end. The client requests

  • 0

We are developing a .NET application with a SQL Server back-end. The client requests the ability to dynamically add custom attributes to entities after the application has been deployed.

As suggested in a similar question we could create a table which would then contain a row for each custom attribute value (Entity-attribute-value model). However, we are considering allowing end users to actually modify the table (also suggested in the same question) i.e. adding and removing columns.

(Edit: as noted in the comments, DDL wouldn’t be executed directly by users or the application, but through stored procedures ensuring that everything runs smoothly)

Main reasons are:

  • Improved performance/searchable attributes
  • The attributes are almost always required to appear as columns e.g. in a data grid in the user interface or when extracting data for further processing in Excel/PowerPivot.
  • Data is strongly typed (as opposed to storing all attribute values as varchar)
  • A simplified data model

Are there any caveats that we should be aware of?

Things that come to mind are:

  • Backup/restore operations that might be unable to handle the changing data structure
  • Dependent objects (such as views) that aren’t properly updated to reflect these changes (a dependent view would have to perform a select * from table in order to include any added columns).
  • …

Any input regarding this approach is greatly appreciated.

  • 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-06-17T20:12:26+00:00Added an answer on June 17, 2026 at 8:12 pm

    I work with a third party application that handles this in a variety of ways:

    1. Most tables have a ‘custom’ version of the table with various fields to hold generically named data types: Number1, Date26, Text3, etc.). So there is Company and CompanyCustom that have a 1-1 relationship.
    2. Lists are created on a table that has a ListID (and a corresponding way for users to setup the schema) and foreign key to link to a main table. This table has several generic columns like #1.

    3. create your own tables

    4. create your own views and stored procedures and register them in the application. These datasets can them be attached to data grids and/or used in custom reports.

    There is an interface to the user can label their columns as they see fit( i.e. Text1 = “Blah Blah Blah”). There are plenty of wasted fields in this situation (although my company has managed to use most of the fields including Money47) and it is not ideal for performance, you can’t beat the near limitless flexibility we have.

    The key here is how much is this client willing to pay for this capability along with the on-going support? If you let them create custom fields on an existing table and they decide they want to change the data type that won’t convert smoothly, are they going to expect you to shuffle and convert it?

    We could hire a full-time programmer for what we pay for this system. SalesForce.com and similar sites have this capability. I don’t think you want to get into this for a one-off client app. They may as well pay you to keep updating the app in the long-run.

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

Sidebar

Related Questions

I am developing a Client-Server application using C# .NET Winforms with SQL Server 2008.
I am developing my first ASP.Net MVC 3 web application against a SQL Server
I am developing large data collecting ASP.Net/Windows service application-pair that uses Microsoft SQL Server
I'm currently developing a C# app with an SQL Server DB back-end. I'm approaching
I am developing a winforms application using .NET 2.0 and Sql Server 2005. I
We are developing a web application using asp.net and sql server. We are required
I am developing an ASP.NET application in VS 2010 with a SQL Server 2000
I am developing a windows desktop client/server application in .NET where the client application
I am developing an asp.net application ,, currently i'm using Sql Server 2008 as
I am developing a asp.net application and i am using SQL Server 2008. I

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.