Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Random Sampling?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00491589
Message ID:
00491593
Views:
8
If you want to get a random 10% (approximately) of your records in a table, you could do:

=RAND(-1) &&Randomize to sysclock
COPY TO temp FOR RAND()<0.10

--Brad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform