Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Random Numbers
Message
De
27/05/1999 00:03:00
 
 
À
26/05/1999 20:36:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00223172
Message ID:
00223293
Vues:
29
In my experience, RAND() works fine too. But by nature, a random number is not necessarily a unique number. This makes the whole idea of using a random number for a unique key unwise. It is fine if combined with a value that can make it truly unique, like COM GUIDs, which use hardware numbers....


>VFP's RAND() function works just fine. I tested it some time ago and it's good.
>
>Vlad
>
>>Never trust any random number generator (Unless you can use a GUID)
>>
>>
>>Wayne
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform