Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uniqueness of Indexes - how do you handle this?
Message
De
14/06/2000 20:19:48
 
 
À
14/06/2000 13:13:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00376137
Message ID:
00380517
Vues:
41
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform