Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Random Numbers
Message
From
27/05/1999 00:03:00
 
 
To
26/05/1999 20:36:29
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00223172
Message ID:
00223293
Views:
30
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform