BUG: IN Subquery Reformats and Is Slower Than an Equivalent JoinLast reviewed: August 29, 1997Article ID: Q173314 |
The information in this article applies to:
SYMPTOMSA join combined with an IN subquery may cause a reformat access plan and be much slower than the logically equivalent pure join query. In general, an IN subquery should have approximately the same performance as the equivalent join.
WORKAROUNDExpress the IN subquery as join, or break it down to several smaller queries using temporary tables, which collectively produce the same result.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server versions 6.0 and 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: sub
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |