Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this optimized?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00417140
Message ID:
00417157
Vues:
19
>Can someone let me know if the following is optimized?
>
>scan for filename.fil_total = filename.fil_subtot
>
>I have an index on total.
>
>Thanks
>Pat Murphy


You need an index on fil_total. Yes, it will be optimized. However, it *might* be faster to do:

SET ORDER TO TAG fil_total
SEEK FileName.fil_subtot
SCAN WHILE Fil_Total = FileName.Fil_SubTot
ENDSCAN
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform