Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SpeedUp SCAN
Message
 
 
À
02/04/2010 07:10:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01458484
Message ID:
01458494
Vues:
72
>Does it have to be a scan? Maybe it can be done with an SQL command? ::: yes I gess it has to be a scan because inside it I do call other functions...
>
>Are you sure that SCAN itself is responsible for slowdown not what you're doing inside the scan? :::: yes, Is the scan because I've commented (**-) all code inside and is the same
>
>Are you setting order in the table before scan? :::: I try it now (set order to tag cType) without better resoults...

Setting index will slow down a scan. You should follow Cetin's suggestion but peek the index that returns least number of records. Another option is to create a combine index on 2 fields.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform