Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting a Winner
Message
De
04/06/1999 09:39:53
George Simon
GS Data Technologies, LLC
Cincinnati, Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00226460
Message ID:
00226477
Vues:
28
Gary,

Try something like this:

SELECT TOP 1 ;
yourField1, yourField2, ;
STR(RAND()*1000000,7,0) AS randseq ;
FROM yourTable ;
IN ResultCursor ;
ORDER BY 3

HTH

George
George Simon, MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform