Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to speed up this SQL
Message
From
14/09/2004 16:10:52
 
 
To
14/09/2004 15:23:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00940416
Message ID:
00942081
Views:
18
>>>
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform