Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Random records with OleDb
Message
From
04/09/2006 01:30:57
 
 
To
All
General information
Forum:
ASP.NET
Category:
Databases
Title:
Random records with OleDb
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01150651
Message ID:
01150651
Views:
106
I am using the same SQL commands as in VFP to select randomly 5 records. I make use of RAND() as the first field of the SQL. However, in order for that to work, RAND(-1) has to be executed. Going through OleDb, would it there be a way to achieve all that from within the same SQL?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Reply
Map
View

Click here to load this message in the networking platform