Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Indexing and Joins
Message
From
07/08/2001 10:09:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
07/08/2001 09:53:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00540551
Message ID:
00540654
Views:
11
>>I understand that VFP uses available indices automatically (whether this speeds things up or not - sometimes it doesn't) for all aspects of query optimization.
>>
>
>No, Rushmore looks at available indexes to see whether any of them will speed up the operation. If you look at SYS(3054) output, sometimes you'll see that VFP uses a temp index even when there's one available.
>
>Tamar

Now, this is interesting. I was assuming that any index would be used, as long as it appeared in the expression.

Do you happen to know - or have a guess - what criteria VFP would use to use or reject an index?

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform