Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsNumeric - VFP analogue?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00307922
Message ID:
00308208
Views:
55
>Hi Ricardo,
>
>I found it. Search for Rushmore, then Chapter 15: Optimizing Application ...
>Lots of very interesting info... Then Creating Basic Optimizable Expressions:
>See carefully.
>Note ISBLANK( ) and EMPTY( ) are not optimizable by Rushmore.
>
>Nadya
>
>P.S. Jim, how do you explain this?

I explain it the same way I explained the TYPE() issue. Look carefully at the examples below;
USE Table
INDEX ON Name TAG Name
SELECT * FROM Table WHERE EMPTY(Name) && Not optimized

INDEX ON EMPTY(Name) TAG EmtpyName
SELECT * FROM Table WHERE EMPTY(Name ) && OR
SELECT * FROM Table WHERE EMPTY(Name ) = .T. && are optimizable
The docs are saying that EMPTY() does act as an optimizable operator, but it does work as one of the expressions if there is an index on EMPTY(Whatever).
Previous
Reply
Map
View

Click here to load this message in the networking platform