Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does TOP work?
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 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01362672
Message ID:
01362696
Vues:
50
>If I want to select N top records, does VFP still create a whole resultset in memory?

Before VFP9, yes. In VFP9, it depends. From VFP9 help:

"In Visual FoxPro 9.0, performance has been improved by eliminating records that do not qualify for the TOP N from the sort process as early as possible.

The TOP N optimization is done only if the SET ENGINEBEHAVIOR Command is set to 90".
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform