Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rushmore Optimization
Message
 
 
To
14/07/2010 11:26:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01472464
Message ID:
01472486
Views:
73
>That still won't use the indeces on the table. VFP can't know what the top N are until the sort, which happens after the data has been selected... at least in this case. If you have a FOR statement on a single table then perhaps an index could be used, but IMO, it's very unlikely.
>
>>Check Message ID: 1362696

Why it can not take top 100 records from the Index and then grab corresponding records? I don't know VFP internals, so I don't know if TOP is optimized or not.

In SQL Server Index can be used for ORDER BY.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform