Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't optimize SQL in vfp5?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00046681
Message ID:
00046882
Views:
30
>Hi Jim!
>
>Really, I don't know, but I'm just utilize this ;)
>
>Have a happy day
>Vladimir Shevchenko
>
>> Glad to see that solved it!
>> But was it needed because you were running with SET DELETED ON or is it
>> just a "thing" with the optimizer???

Good question, Jim. Yes, it only matters when SET DELETED ON. When OFF, you get "Full" optimization with any simple index usable by the SQL and no Deleted() index.

Actually, I don't notice much speed difference whether the level is Full or Partial, as long as the SQL can use the pre-built index...but aesthetically, it's nicer to see that the query is at "Full" optimization, and of course it may make a big difference with a large table with many deleted records...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform