BUG: SQL Server May Not Find Existing Appropriate Query Plan Causing Recompilation (280458)



The information in this article applies to:

  • Microsoft SQL Server 7.0

This article was previously published under Q280458
BUG #: 100967 (SQLBUG_70)

SYMPTOMS

When a SQL statement is executed in SQL Server 7.0, SQL Server first looks through the procedure cache to see if there is an existing query plan for the same SQL statement. SQL Server 7.0 reuses any existing plan that it finds, saving the overhead of recompiling the SQL statement.

Under rare circumstances, SQL Server may not find the existing appropriate query plan and a recompilation may be incurred. You might notice that a query takes much longer to run due to the recompilation.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 7.0.

Modification Type:MajorLast Reviewed:9/4/2002
Keywords:kbbug KB280458