Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select max ????
Message
De
06/03/2003 14:48:42
 
 
À
06/03/2003 14:44:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00762387
Message ID:
00762389
Vues:
9
SELECT TOP 1 [fieldName] from [tableName] into cursor [cursorName] order by [fieldName] desc

That should get you the single largest value for that field in the table. If there is a tie, it will give you all records with that value, not just the top 1.

Is that what you wanted?
Paul A. Busbey
Victoria Insurance
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform