Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL not optimized
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
SQL not optimized
Divers
Thread ID:
01137029
Message ID:
01137029
Vues:
70
A really weird problem. I have a Foxdos table with some simple indexes stored in a CDX file.

orderno index on orderno
custno index on custno
trandate index on trandate

Here is the weird part. I try and run a SQL against the table in VFP9 and it is slow. I check with SYS(3054) and it says optimized is none. My SQL is very simple such as.

Select *;
From testtable;
Where orderno="1234"

Yet if I change the above field from orderno to trandate it becomes fully optimized. So VFP9 can use Rushmore from Dos, but not on strings.

Any ideas on what I might be missing.

TIA,
Dale
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform