Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple VFP query, no optimization
Message
From
12/11/2000 19:35:45
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
 
To
10/11/2000 17:26:57
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00440476
Message ID:
00440836
Views:
16
It seems a shame to have to create these two new indexes just for this one SQL query, when you already have one index which should be usable. Have you tried the SYS(3054) function to determine if it is optimizing using the custID + poNum index? This might shed some light on things.

>>If the original index wasn't filtered, you should have been able to use it for optimization rather than creating two new indexes on your table. Oh, well, at least you have it working now.
>>
>
>I would rather not have to add the 2 additional indexes. I have INDEXSEEK elsewhere on the the index key I already had, so now I have 3 indexes doing the duty of one. Original index expression is simple: custID + poNum. No filter. Should I not need individual indexes?
Previous
Reply
Map
View

Click here to load this message in the networking platform