Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Very Poor Performance of SQL on Local Table
Message
De
12/02/2002 15:19:28
 
 
À
12/02/2002 11:34:58
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00618884
Message ID:
00619070
Vues:
18
If I recall correctly, the filter expression must exaclty match the index key. ie, having employee.filetype might make it not optimizable if the key of the index is (as it should be) filetype. Is the index expression just exactly the fieldname, or is it upper(filetype)? If it is upper(filetype) then your where clause should be upper(filetype) = "EMPLOYEE"

That's all I can think of off the top of my head :)

>
>SELECT * FROM data\Employee.dbf WHERE Employee.filetype = "EMPLOYEE"
>
>
>Regards, Renoir
--Todd Sherman
-Wake Up! Smell the Coffee!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform