I have two identical databases, one offline and one online.
In every field of a table I have a column called online
with values 0 (did not send the data) or 1 (already sent the data).
I usually check if there is any field in my table with the online
column with a value of 0, and if so, send the registration to the online bank and change the value to 1.
It works great this way. The biggest issue is if I have two people using the system.
How can I send data from two customers to the online bank and have each of the customers receive the data the other one sent?