Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select not optimized with VFP9
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SQL Select not optimized with VFP9
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00986454
Message ID:
00986454
Vues:
107
Hi All,

This was fully optimized with VFP8:
SELECT Distinct Sofe301.prgrupp,;
                Sofe301.namn,;
                Sofe110.opnr,;
                Sofe110.ejbelagg;
                FROM sofe110;
                INNER JOIN sofe301;
                ON  sofe110.prgrupp = Sofe301.prgrupp;
                WHERE SUBSTR(Sofe301.artnr,11,8) =  ?vp_artnum  AND;
                Sofe110.ejbelagg = 'J' ;
                ORDER BY Sofe110.opnr into cursor crsOpnr

Using index tag Ejbelagg to rushmore optimize table sofe110
Rushmore optimization level for table sofe110: full
Using index tag Subartnr to rushmore optimize table sofe301
Rushmore optimization level for table sofe301: full
Joining table sofe301 and table sofe110 using index tag Opprgr
But with VFP9 it is not:
Rushmore optimization level for table sofe110: none
Rushmore optimization level for table sofe301: none
Joining table sofe110 and table sofe301 using temp index
Can anyone please tell me the reason for this?
/Torgny
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform