Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rushmore Optimization on Free Tables
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00803319
Message ID:
00803331
Views:
14
Sergey,

I wonder if it is worthwhile to combine the two fields in the expression (as in Craig's example).

>In this case you don't need compound index because you're using each field separately in your WHERE condition.
>
>>Is there a benefit in terms of Rushmore in creating compound indices for free tables?
>>
>>For example, when we extract invoice headers, part of the SQL statement might contain "where cCustomer = 'ALLAN' and cInvoiceNo = '123456'".
>>Should there be an index on 'cCustomer + cInvoiceNo' as well as 'cCustomer' and 'cInvoicNo'?
>>
>>TIA.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform