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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:27:20+00:00 2026-05-23T12:27:20+00:00

I have a profile page (less than 10k users) and I need to track

  • 0

I have a profile page (less than 10k users) and I need to track every change and update that is made through out the application, by the users. Whether a user updates the profile picture or adds an extra space in a “comments” field, I need to store the previous data.
In short: I need to store everything.

Is there some sort of “tracking-history-and-changes-in-sql-server” software or do I have to implement it myself?

If I have to implement it myself I can think of three ways to do it:

  1. I keep everything in the same table
    but I add a key column that
    specifies which row is active
    and which is old.

  2. I add a new table called history
    where I store the column name that had the
    change, when it was changed and what
    the old data was.

  3. I add a history table for each table
    in the database. It looks the same
    but only keep track of each tables
    history.

Has anyone had a similar problem and how did you solve it?

This was built using mvc 4 and it’s a
normal website.

EDIT
I’m mostly interested in existing solutions/software, but If there are none I would have to do it myself.
Has anyone used SQL Data Compare?

  • 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-23T12:27:20+00:00Added an answer on May 23, 2026 at 12:27 pm

    Where I worked last everything had to be logged fully. (working with goverment organisations). We never updated or deleted data.

    What you would do is have a start date and an end date on each row. To do an update you would update the old data to have an enddate then insert a new row in the table. To do a delete you would put an enddate on the row with a null enddate. We also had an “updated by” column to put the userid

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

Sidebar

Related Questions

I have a profile settings page where users can change their password and they
Let's say you have a profile page that can only be accessed by the
I have a profile image upload page, where users can overwrite their previous profile
On my Drupal site, I have made a Users page using the Views module,
Users on my site have their profile page. There, users can setup their data.
I have a Ruby on Rails page to edit a users profile. The form
Essentially, I have a profile page with comments that get displayed. I would like
In my web application I have a user profile page. That page has these
I want users to able to have a profile page at site.com/myNameHere. Rails looks
I have a user profile page, and I'd like to have an extension that

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.