This article was previously published under Q244548
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 56085 (SQLBUG_70)
SQL Server 7.0 may infrequently be slower than SQL Server 6.5 when you run certain rare types of left outer joins that involve large result sets.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
254561 INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
To achieve the full benefit of this fix, it may be necessary to use the optimizer hint: option (loop join, force order). For more information, see SQL Server Books Online for details about using optimizer hints. It may also be necessary to make sure that clustered indexes exist on the most beneficial columns for the query. Experimentation may be required to determine the best index placement.