Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a speed difference between filter and seek ?
Message
De
19/09/2000 01:51:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00417902
Message ID:
00417956
Vues:
27
>Filter expressions are optimizable if the index exactly matches the filter expression but a SEEK is always going to be faster.
>
>Try the following:
>select appur
>seek the_ident
>scan while ident = the_ident
>   * do stuff
>endscan
>The WHILE inhibits the SCANs behavior of going to the top.

...and keeps the SCAN from going all the way to the bottom....
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform