Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I get the last 1000 records in a table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01052591
Message ID:
01052598
Vues:
7
>>
select TOP 1000 unemp_ins_pct from payroll_tbl ;
>>	where unemp_ins_pct # 0 ;
>>	into array a__gen40 ;
>>	order by payroll_tbl.id DESC
>>
>
>Thanks Sergey. Haven't use foxpro for a while, into .NET now.

This solution will work for most back ends as long as they support TOP clause in a query.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform