Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to speed up this SQL
Message
De
14/09/2004 16:10:52
 
 
À
14/09/2004 15:23:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00940416
Message ID:
00942081
Vues:
19
>>>
>>>Wouldn't that benefit the GROUP BY?
>>>

>>>
>>>No, GROUP BY, HAVING, ORDER BY are not optimizable.
>>
>>Why is that?
>
>AFAIK, they are applied to the resulting cursor after all the WHERE and JOIN clauses have been processed. There are no indexes available for optimization to take place.

I have no idea of how the internal workings of Rushmore are constructed, but I was under the impression that if an index existed, a temporary one may be built on the result set. Again, I have no idea if that is how it works or not.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform