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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:55:37+00:00 2026-06-03T13:55:37+00:00

I have 6 columns of date-time type in a table. My application has a

  • 0

I have 6 columns of date-time type in a table. My application has a requirement that each column should have additional column one for validation that can be of a bit datatype and another modified date-time if user wants to modify it. So my question is that is there any thing better than adding 2 column for each column I have? Also I know about Sparse columns which I can use to save my table space but still is there any thing better I can do??

The ‘Bit’ Logic

So there are 3 columns

  1. original datetime,
  2. modified datetime and
  3. Validation bit.

Validation bit is by default set to false. When user want to change the date-time then modified date-time column will be updated with new value; however, there will be no change in original date-time column. Now user has to make decision whether value being entered is validated or not. The validation bit will decide this functionality.

  • 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-03T13:55:39+00:00Added an answer on June 3, 2026 at 1:55 pm

    I would disable the Valid checkbox until they enter a modified date. Sparse for those two columns works.

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

Sidebar

Related Questions

I have table with date/time column and person column. Each person has multiple records
I have a table with two separate columns for date and time (SQL Server
I have four columns in a table: date entered, time entered, date completed, time
I have a table column of data type DATE. I am inserting through Java
In mysql database i have this column called: Name: Date Type: datetime I have
Currently in my application I have a single table that is giving me a
I have one problem... There is a table in my MySQL database that stores
From my experience I have learn that using an surrogate INT data type column
I have a table with around 6 million rows and has many columns with
I have a MS SQL Srver 2005 Database, that has a table with a

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.