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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:00:53+00:00 2026-05-10T14:00:53+00:00

I have designed database tables (normalised, on an MS SQL server) and created a

  • 0

I have designed database tables (normalised, on an MS SQL server) and created a standalone windows front end for an application that will be used by a handful of users to add and edit information. We will add a web interface to allow searching accross our production area at a later date.

I am concerned that if two users start editing the same record then the last to commit the update would be the ‘winner’ and important information may be lost. A number of solutions come to mind but I’m not sure if I am going to create a bigger headache.

  1. Do nothing and hope that two users are never going to be editing the same record at the same time. – Might never happed but what if it does?
  2. Editing routine could store a copy of the original data as well as the updates and then compare when the user has finished editing. If they differ show user and comfirm update – Would require two copies of data to be stored.
  3. Add last updated DATETIME column and check it matches when we update, if not then show differences. – requires new column in each of the relevant tables.
  4. Create an editing table that registers when users start editing a record that will be checked and prevent other users from editing same record. – would require carful thought of program flow to prevent deadlocks and records becoming locked if a user crashes out of the program.

Are there any better solutions or should I go for one of these?

  • 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. 2026-05-10T14:00:54+00:00Added an answer on May 10, 2026 at 2:00 pm

    If you expect infrequent collisions, Optimistic Concurrency is probably your best bet.

    Scott Mitchell wrote a comprehensive tutorial on implementing that pattern:
    Implementing Optimistic Concurrency

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

Sidebar

Ask A Question

Stats

  • Questions 67k
  • Answers 67k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer iPhone apps do not have radio buttons. The 'iPhone-like' way… May 11, 2026 at 11:44 am
  • added an answer You can use Window.GetWindow. However, you might want to consider… May 11, 2026 at 11:44 am
  • added an answer It means your file has been added to the index.… May 11, 2026 at 11:44 am

Related Questions

I have designed database tables (normalised, on an MS SQL server) and created a
I have a poorly designed database. One of the most important tables has 11,000+
I have a database designed to hold card data from various trading card games.
I have Designed the Javascript function My.js it contains following code My.js function display(){
I have built a CFC designed to serve as a dynamic, aging cache intended
I have a class (class A) that is designed to be inherited by other
I have created a non-visual component in C# which is designed as a placeholder
I have a rather large project developed on Sharepoint and Project Server, designed as
Question I have an application written in Java. It is designed to run on
I have been programming using PHP, Javascript and have been a designer for a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.