Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rushmore Optimization on Free Tables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00803319
Message ID:
00803329
Vues:
12
Craig,

Understood. Tks.

But, in my example, I used 2 separate expressions ("where cCustomer = 'ALLAN' and cInvoiceNo = '123456'"). So, I should assume that there is no benefit. Correct?


>You're query statements should exactly match the index, so if you have a query that says
>
>... WHERE cCustomer + cInvoice = "ALLAN123456" ...
>
>
>then you should have a compound index.
>
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform