Afficher un message
Vieux 28/03/2008, 02h41   #1
AG
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut PK Generation Or Data Synchronization

I would appreciate some advice on generating a PK and/or synchronizing data
between two (maybe three) locations.

Simplified scenario.
Using SQL Server 2005 (could got to 2008 if needed).

Client has two locations (central and remote).
Item record would containseven fields - six int fields (id's from component
tables) and a seventh field that would be the PK.

Most of the time the PK would be generated at central, however, should the
connection be lost, remote must be able to generate a PK also and then when
connection is restored, any new PK generated by remote must be added to
central.

The PK needs to be the same for the same combination of the six fields, no
matter which server generated it, in case both servers happened to create a
record with the same six fields. Therefore using a GUID would not work.

Since the PK will be used by another system (Great Plains), it's length is
limited to 30 characters.

--

AG
Email: discussATadhdataDOTcom


  Réponse avec citation
 
Page generated in 0,05339 seconds with 9 queries