Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT TOP is not standard
Message
De
30/04/2003 11:02:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
30/04/2003 10:52:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00783170
Message ID:
00783181
Vues:
22
Fabio,
Unfortunately it's a known behaviour of 'Top N' in VFP :(
A workaround like this would do :
SELECT TOP 1 * from ctop ORDER BY 1 into cursor crsTemp nofilter
If (_Tally > 1)
 Select * from crsTemp where Recno() <= 1 into cursor crsTemp
endif
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform