Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SpeedUp SCAN
Message
 
 
À
02/04/2010 06:52:46
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:
01458485
Vues:
86
Does it have to be a scan? Maybe it can be done with an SQL command?
Are you sure that SCAN itself is responsible for slowdown not what you're doing inside the scan?
Are you setting order in the table before scan?

>I have a table XXX with 25 fields (ctype, nNum, ... filed25) and aprox 100.000 records and following code:
>
>scan for ctype=cvar1 and nnum=nvar2
>...
>endscan
>
>
>Recently this scan became very slow. I've indexed the table in cType and nNum to optimyze speed but it does no work...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform