Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Long running query
Message
From
03/04/2004 04:08:11
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00891920
Message ID:
00891973
Views:
19
What return this ?
SELECT COUNT(*)
FROM icitrf
WHERE (dtrs BETWEEN '02/01/04' AND '03/26/04') 
AND (cwhouse BETWEEN 'WAL0000' AND 'WAL9999')
Who is Clustered index ?

try to define a single index for
(best choice is correlate with data distribution) :
dtrs,cwhouse,citemno
or
cwhouse,dtrs,citemno
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform