Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rushmore question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00146041
Message ID:
00146406
Views:
29
Christof,

Thanks, looks like a limitation of the SQL parser, it seems like it should be able to optimize the expression in either order especially for an =, I could see it having a minor problem converting <= into >= if it swapped the expression and field. But at least now I know to keep the field to the left, even if it makes the code a little less clear.

>not optimizable is:
>
>SELECT COUNT(*) FROM Table WHERE "..." = Field
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform