Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting 10 records randomly
Message
From
06/01/1998 00:18:40
 
 
To
05/01/1998 11:45:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00069291
Message ID:
00069732
Views:
39
>>This is the perfect solution with an exception. rand() might return the same value for top 10 more than once thus resulting set would be more than ten recs. Sure not a problem just get the first ten recs than.
>
>From my tests, when there is the same value chosen from the RAND() function, we will have less records than 10. :)

This would be a bug. Are you sure?

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform