Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Best method for determining timestamp baseline

$
0
0

Hello,

Sorry for the rather simple question but I am not even sure how to frame my search terms. I have records that could be modified from different sources. Let's say just for a silly example we have our main RDBMS and it has Table Z with record 5150 (yes a Van Halen reference. Pandora just served up that song).

User A has used this program before to access record 5150. Therefore they have a record of 5150 on their local system (not web based as often offline use needed) but is it the most current? I want to compare what the RDBMS has for 5150 versus the record for 5150 on their machine. If the RDBMS is more current I want to see if their version was every submitted. If not submit it and then send them the most current version of 5150. If their version was submitted then simply give them the latest.

See it is possible that user A updated record 5150 from say a laptop but they have not submitted their changes. It is also possible they updated record 5150 from their new Surface tablet at a different time and did submit their changes. Now they flipped on their laptop again to access 5150 and I want to give them the latest but I also don't want to discard, if only for historical purposes, the 5150 record that is on their laptop.

As a final note each 5150 record stand on its own so I do NOT need to worry about merging the laptop version with the surface version I just want to make sure that all versions of the record are tracked and whatever device they are using...Android app, Apple, Surface, Laptop etc. they have the latest record.

Any input or reading / education pointers would be appreciated

JB


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>