Quick question. I am developing an application that will run on a few office computers as well as one laptop in the field with no way of connecting to the "Live" database. I plan on making a copy of the database on the laptop. The database will be small and fortunately there will not be many changes in the field and I will have to merge them at some time. My question is about the primary key when new records are added in the field. Normally I use auto-incrementing identity integer column as the primary key. I'm thinking about using an integer column named SourceNbr (1-9) to identify the laptop database and then use this number together with another column (auto-incrementing) to create the primary key (maybe a computed column). Something like like SourceNbr * 200000 + Other Column. How do you handle something like this? I'd rather not use a GUID, but I guess I could.
Auguy
Sylvania/Toledo Ohio
Auguy
Sylvania/Toledo Ohio