Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I optimize this query?
Message
De
25/06/2003 06:43:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00803505
Message ID:
00803678
Vues:
8
Hi Sergey,

Only WHILE clause it implies scope REST
SELECT payroll_tbl
SET ORDER TO ID DESC
SCAN ALL WHILE unemp_ins_pct = 0
ENDSCAN
.q1 = unemp_ins_pct
The strange is this:

LOCATE is the native VFP search command, but often it is slow.
If it uses a index on FOR clause, it is much slower.

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform