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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:08:22+00:00 2026-05-30T15:08:22+00:00

I want to use a database for a program I’m creating. Let’s say that

  • 0

I want to use a database for a program I’m creating. Let’s say that I will have to manage clients that can make “posts” and every post has a series of properties.

To store the information about the users I have created a table. I’m not sure how to design the table for “posts”. Every post has some properties that are text and about ten boolean properties.

My question is: Would it be better to have only one column with a Y,N,N,Y…. and then do a split in the program to know every status of these properties or is it better to have every property in a column with a boolean type?

I anticipate large number of clients and a large number of posts so I don’t know if this last option is faster and cheaper or not. What do you think? My program will serve data to mobile phones.

  • 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-30T15:08:23+00:00Added an answer on May 30, 2026 at 3:08 pm

    It is better to have a column for each of the boolean properties, I would also recommend using a bit, or tinyint column with 1, 0 values instead of Y/N as they take up less space and are easier to manipulate for reporting purposes

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

Sidebar

Related Questions

I have a string being returned from my database that I want to use
Say I have a program that creates a database file, and imports data to
I am doing a program involving a database. I have a query that will
Say I have a database of recipes that I have online, and I want
Some background: I have an database that I want to use linq-to-sql to update
I want to make custom select from the database table using Linq. We use
I use myeclipse and jboss5.0.1 server.mysql is the database that i use. I want
We've got a file-based program we want to convert to use a document database,
I want to access facebook's database. I want to have some SQL-like access, let's
I have written a C# program in Visual Studio 2010 . I use database

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.