Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can this SELECT be improved to go faster?
Message
De
24/07/2000 15:30:13
 
 
À
21/07/2000 12:59:43
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00395152
Message ID:
00396279
Vues:
13
>As an adddition, since fox is clever enough to break at first .f. in an expression combined with 'and' moving 'table2.survey_year = cYear' to top seems
> to be more feasible.

That improved it slightly, and I have found that putting everything except 'table2.survey_year = cYear' into the JOIN condition, leaving only the survey_year in the WHERE, seems to be the fastest.

>Instead of join (since it's inner) old style : 'where table2.element = table1.element' could help too. Test and publish results :)

That ran a little longer than the original.

Thanks!
Bridget K. Dawes
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform