How to speed up a composite nonclustered index-based query |
 |
EXPERT RESPONSE FROM: Jeremy Kadlec

|
 |
|


|
| > |
QUESTION POSED ON: 26 December 2005
Here's the situation: A composite nonclustered index is created with XYZ table with the columns ordered, seqno,del_date to improve the query below:
SELECT * FROM XYZ WHERE del_date BETWEEN @datefrom AND @dateto AND orderid=@orderid AND seqno=@seqno
ORDER BY orderid, seqno,del_date
Now, after implementing the index, the query still responds very slowly. What other steps are needed to resolve the problem?
|
|
To continue reading for free, register below or login
To read more you must become a member of SearchSQLServer.com
|
|
');
// -->

|
|
 |

 |
 |
Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and
answer pairs from more than 250 TechTarget industry experts.
|
 |
 |
 |
|
 |
 |
 |
|
 |
|
 |