Article ID: 278978 - Last Review: October 31, 2003 - Revision: 3.2 FIX: SELECT May Not Return All Rows if It Contains a Large Number of Values in an IN Clause on a NUMERIC ColumnThis article was previously published under Q278978
BUG #: 57999 (SQLBUG_70) BUG #: 235838 (SHILOH_BUGS) On This PageSYMPTOMS
A SELECT statement may not return all the rows that satisfy a WHERE clause if all of the following conditions are met:
RESOLUTIONSQL Server 2000To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:290211
(http://support.microsoft.com/kb/290211/EN-US/
)
INF: How to Obtain the Latest SQL Server 2000 Service Pack
SQL Server 7.0To resolve this problem, obtain the latest service pack for SQL Server 7.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:301511
(http://support.microsoft.com/kb/301511/EN-US/
)
INF: How to Obtain the Latest SQL Server 7.0 Service Pack
WORKAROUND
Use the query hint OPTION ( fast n ) in the SELECT statement. For more information on query hints, see the "SELECT (T-SQL)" topic in SQL Server 7.0 and SQL Server 2000 Books Online.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. SQL Server 2000This problem was first corrected in SQL Server 2000 Service Pack 1.SQL Server 7.0This problem was first corrected in SQL Server 7.0 Service Pack 3.
| Article Translations
|
Back to the top
