Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Random selection
Message
From
05/08/1999 16:53:34
 
 
To
05/08/1999 15:17:26
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00250337
Message ID:
00250430
Views:
12
Select *, rand() as myrand from mytable top x into cursor mycursor order by myrand

>I'm trying to figure out how to get Visual FoxPro 6 to run a query that will pick randomly x number of records from a given table. I've tried doing this thru a hardcoded program however I haven't had much luck. Any help would be appreciated...
>
>-lukasz
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Reply
Map
View

Click here to load this message in the networking platform