Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Select Optimisation changes under VFP8?
Message
From
04/06/2003 08:58:14
 
 
To
03/06/2003 16:18:12
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00795674
Message ID:
00796110
Views:
24
As pointed out elsewhere in this thread, the workaround is to place the slow function in an IIF.

>
>On the premise that VFP's SQL *will* test ALL parts of an expression with ANDs, what does having the proper indexes in place have to do with preventing it or not?
>
>I could see myself being pretty disappointed if I had some rather onerous function but knew that it would execute on less than 1% of the records because my first condition filtered out 99%+, only to learn that it ran on all records anyway.
>
>Have I missed something here?
>
>>
>SNIP
Previous
Reply
Map
View

Click here to load this message in the networking platform