If you have a managable number of subscribers and you need to display the
record's id to the user then Identity Ranges will work.
I personally perfer GUIDs since the thought of managing identity ranges for
several hundred subscribers scares me. If you don't use identity ranges,
many people use a composite key to ensure the record is unique so you're
likely at 8 bytes anyways...what's another 8 really? Microsoft Business
Solutions uses GUIDs thoughout the entire database in their CRM solution...I
tend to think they know what their products are capable of.
[quoted text, click to view] "James Edwards" wrote:
> Can someone tell me whether using GUID's as identity keys is a good/bad idea
> to get around the problem of Identity Ranges for different subscribers (when
> using merge replication)?
>
> I am looking at replication for the first time as we are about to start a
> project where multiple remote sites will be entering data into shared SQL
> databases. It's early days yet and we haven't really even started on
> analysis properly, but from what I know about the project so far, it does
> appear that the ID will not need to be in a 'readable' format.
>
> Cheers
>
> James E
>
>
Interesting thoughts Brian. Take a difference scenario, using PocketPCs,
where bandwidth (even on-board) is more crucial. Now those "extra 8-bits"
really start to add up. Would you still feel the same about GUIDs?
[quoted text, click to view] "Brian Reuter" <BrianReuter@discussions.microsoft.com> wrote in message
news:EF2D1ECD-BEAA-486A-9D13-D82E8A65296B@microsoft.com...
>
> If you have a managable number of subscribers and you need to display the
> record's id to the user then Identity Ranges will work.
>
> I personally perfer GUIDs since the thought of managing identity ranges
> for
> several hundred subscribers scares me. If you don't use identity ranges,
> many people use a composite key to ensure the record is unique so you're
> likely at 8 bytes anyways...what's another 8 really? Microsoft Business
> Solutions uses GUIDs thoughout the entire database in their CRM
> solution...I
> tend to think they know what their products are capable of.
>
>
>
>
> "James Edwards" wrote:
>
>> Can someone tell me whether using GUID's as identity keys is a good/bad
>> idea
>> to get around the problem of Identity Ranges for different subscribers
>> (when
>> using merge replication)?
>>
>> I am looking at replication for the first time as we are about to start a
>> project where multiple remote sites will be entering data into shared SQL
>> databases. It's early days yet and we haven't really even started on
>> analysis properly, but from what I know about the project so far, it does
>> appear that the ID will not need to be in a 'readable' format.
>>
>> Cheers
>>
>> James E
>>
>>
>>