The information in this article applies to:
BUG #: 57350 (SQLBUG_70) SYMPTOMSUnder certain conditions a query may issue a table scan instead of using a useful covering nonclustered index. CAUSEThe optimizer is using the density information from the distribution page statistics to estimate the number of qualifying rows. In WHERE clauses with two or more constant values, the value of the constants can be estimated as too costly for using the index because the average density is worse than the density for these special constant values. This is the reason why the optimizer is not using the index. WORKAROUNDTo work around this problem, try either of the following:
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 7.0. Additional query words: performance slow non-clustered
Keywords : kbbug7.00 kbSQLServ700bug |
Last Reviewed: February 1, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |