Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Correlated subquery thanks
Message
From
23/03/2021 17:20:48
 
 
To
23/03/2021 17:03:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01679124
Message ID:
01679267
Views:
44
But all a good discussion - I have never used a binary index and so had to look it up. Might come in handy some day if there is a true/false answer on a field expression.
Thanks!

>You read my mind via my not well formulated question perfectly!
>Binary Index should speed up that particular subquery, but if empty(partfile.Date_Closd ) is not used elsewhere in table filtering operations, your current approach probably is best, as overindexing produces its own pain points.
>
>regards
>thomas
>
>>It is non-nullable. Have a machine index, not binary. The index is used in other ad-hoc queries where the users can specify a closing date range. Binary would just be for indexing if empty or not correct (at least that is what I am guessing you are getting at).
>>
>>Albert
>>
>>>Hmmm, seems to big a win - did you have a BINARY INDEX on partfile.Date_Closd ?
>>>(guessing that this is non-nullable)
>>>
>>>>Made the changes and that indeed worked better and faster.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform