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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:07:55+00:00 2026-05-26T15:07:55+00:00

My system needs to get only the updates from the server. How do I

  • 0

My system needs to get only the updates from the server. How do I design my database? Have an audit table or is there any other design mechanism? What I’m planning is to send an update id from my device, and retrieve the new updates. How to really implement this?

  • 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-26T15:07:56+00:00Added an answer on May 26, 2026 at 3:07 pm

    Writing to an audit or change table what has changed is one approach as you have mentioned.

    If you’re using SQLServer, there’s also a timestamp column. It’s not a datatime column – the name is mis-leading. Instead, it is an incrementing number and when a row is touched, it gets the next number. If you get max timestamp and then later, query all rows with timestamp greater than that long, you’ll get the rows that were changed/added.

    http://msdn.microsoft.com/en-us/library/ms182776(v=sql.90).aspx

    The SQL Server timestamp data type has nothing to do with times or
    dates. SQL Server timestamps are binary numbers that indicate the
    relative sequence in which data modifications took place in a
    database. The timestamp data type was originally implemented to
    support the SQL Server recovery algorithms.

    One approach I would specifically be wary of is using datetime as the watermark. It shifts, can change and is not good for use in an algorithm – especially to detect what has changed. I’ve seen systems fall down trying to rely on datetime as a reliable watermarking approach.

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

Sidebar

Related Questions

We need to get data out of an older accounting system. We have received
I've need to get a file from a remote (embedded) system (which I can
My client needs to have a banner management system installed to their site. They
We have an embedded device that needs to interact with an enterprise software system.
I have a file caching system for a php application. if a file needs
I have an SSIS 2008 package that reads data from an Access database (OLEDB
I need to get the system locale to do a number of things, ultimately
How would I model a system that needs to be able to provide content
I've built a nice website system that caters to the needs of a small
I am a .NET programmer who needs to port one good Desktop OTP system

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.