Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Indexing to improve Group by statements
Message
De
14/06/2001 12:41:59
 
 
À
14/06/2001 12:23:03
Valter Herman
Tuesday Morning, Inc.
Dallas, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00519480
Message ID:
00519491
Vues:
14
>If I'm performing an sql retrieval statement would indexing on the columns in the group by statement speed up the process?
>Here's an example:
>
>Select Sum(Hours_Worked) from tblCustomer
>Group By Department_Name
>Where Last_Name > 'Herman'
>
>Suppose I already had an index on Last_Name. Would adding an index to Department_Name speed things up any?
>
>Thanks,
>
>Valter


No. Grouping occurs on the result set.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform