Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimization with Between
Message
From
14/02/2007 13:27:13
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01195675
Message ID:
01195708
Views:
14
--You can not use EMPTY --
Thanks. You are correct. I just found it under the "Using Rushmore Query Optimzation to Speed Data Access" topic. I would think they would mention it in the EMPTY topic. Wouldn't that make sense?

I still contend if we can figure this out based on a set of rules then the engine should be able to figure it out based on the same set of rules. Isn't that what computers are supposed to be all about? Making it easier for us!



>>>That's just how engine works. I don't think there is anything wrong here as long as it is documented.
>>
>>I know that and I know it is not a bug. I just think it would be VERY nice if the engine could figure it out and optimize it. Or I guess in the help file topic for BETWEEN and EMPTY there could be a note something like "You shouldn't actually use these functions because they stink!"
>>
>
>You can not use EMPTY() (and AFAIK it's documented in Help) and you should use between with the field, not with a variable between two field values. That's all.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform