Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why is this SQL faster?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00930072
Message ID:
00930084
Vues:
16
This message has been marked as the solution to the initial question of the thread.
Mel,

That's exactly the point. You use 'IF' outside a query and macro substitution is evaluated only once, not for every row.
>
>>The best way in this case would be to use macro substitution. This way JOIN will be optimizable with proper indexes. <
>
>The if/endif statement can't be within a Select statement can it (as each row has to be evaluated)?
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform