Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Indexing to improve Group by statements
Message
From
14/06/2001 12:41:59
 
 
To
14/06/2001 12:23:03
Valter Herman
Tuesday Morning, Inc.
Dallas, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00519480
Message ID:
00519491
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform