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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:37:08+00:00 2026-06-07T06:37:08+00:00

I have a table that holds PDF’s with meta data, it also has 10

  • 0

I have a table that holds PDF’s with meta data, it also has 10 anonymous rows in it. These rows can be used to hold any C# Data Type as each user may use it for a different reason.

There are a standard set of information on each record, for example PDF Path Data, Description, etc. And then 10 rows called “Key1, key2, key3”. The reason for these is the user can rename them on my webpage and store their own data to do with the uploaded PDF File. (They may have information like Customer Name, Publisher Name, Cost, ect)

I want to keep these values open to almost any data type..

The question I have, is what SQL datatype should I use? I dont mind having a Character Limit.. But I need to know the most efficient way to store it.. It would be simple to just do Varchar(100) and convert the value in c# as required.

  • 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-07T06:37:10+00:00Added an answer on June 7, 2026 at 6:37 am

    If you don’t mind having a character limit, use varchar.

    For reasons why it’s better than nvarchar, see What are the main performance differences between varchar and nvarchar SQL Server data types?

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

Sidebar

Related Questions

I have a MySQL table that holds rows of configuration data, ie: id item
I have a database table that holds customer data with several million rows in
Hi I have a datatables based table that holds data. I need to be
I have a table (table variable in-fact) that holds several thousand (50k approx) rows
I have a mysql table that holds comments. The comments can have sub-comments, but
I have a table that holds data received from a thirdparty via an api
I have SQL table that holds buyers personal data such as FirstName, LastName, OGCard;
I have a table that holds data like key val Product Oranges Customer Alan
In summary: I have a mysql db table that holds pdf objects. When a
I have a table that holds information about cities in a game, you can

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.