Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uniqueness of Indexes - how do you handle this?
Message
From
14/06/2000 20:19:48
 
 
To
14/06/2000 13:13:29
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00376137
Message ID:
00380517
Views:
45
>>I've read that a GUID is guaranteed to be unique worldwide, but I always took that to be specifically in the context of its designed-for use. In that context the "generator" can use the registry to double-check this (at least as I imagine things). Do you check the returned GUID against existing keys to assure uniqueness?
>

It's not necessary. Globally unique means unique across space and time. CoCreateGUID creates a 128 bit value, which means that there is a 1 in 281 trillion chance of ever creating that value again, anywhere, anytime.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform