Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make Select quicker
Message
From
26/01/2006 14:10:03
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01090482
Message ID:
01090613
Views:
12
>>EMPTY is optimizable if there is an index with INDEX ON EMPTY(FIELD).
>
>Right, of course, but who would create such index? That's why I didn't even mention it.
>
>EMPTY is noted as not optimizable in the help as a note near BETWEEN and INLIST because EMPTY does not optimize the way BETWEEN and INLIST do. That is, those functions will use an INDEX ON FIELD.
>
>Yes. Or you can use IN (....), which now can hold unlimited (limited by memory) number of items.

People are saying EMPTY is not optimizable as if it is an undeniable fact. As to who might create such an index, how about those same people who use EMPTY() in a filter/where despite the "fact" that it cannot be optimized?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform