Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sys(3) Function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00157162
Message ID:
00157343
Vues:
19
>>>Hi George,
>>>
>>>>It calls the MS RPC function UuidCreate to generate a globally unique integer?
>>>
>>>Actually, it's only highly probable that the GUID is unique, not granted. :)
>>>
>>Hi Christof,
>>
>>For this purpose, absolutely. My thought was that with 16 bytes serving as a key, the likelihood of duplication would be highly remote. From a pure theoretical standpoint, I don't believe it's possible to independently generate a key that's 100% guaranteed to be unique.
>
>Gearge,
>
>Except for using a key table that tracks the last used key and generates the next one.

Hi Jim,

That's why I included the word "independently" in my post. I meant to exclude external references such as a key table. Having a key table, and the mechanisms to properly increment the value, are really (in IMHO) the proper way to do this.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform