You are currently offline, waiting for your internet to reconnect

FIX: Queries with TOP N PERCENT in Subquery May Fail with Error Message 8623

This article was previously published under Q274467
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 57941 (SQLBUG_70)
Queries that contain a TOP N PERCENT argument within a subquery may fail to run. For example, the following query:
SELECT * FROM employeeWHERE hire_date > ALL (SELECT TOP 7 PERCENT 1 FROM employee)				
returns this error message:
Server: Msg 8623, Level 16, State 2, Line 1
Internal Query Processor Error: The query processor could not produce a query plan.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
regression, subqueries, sp3

Article ID: 274467 - Last Review: 02/28/2014 04:21:36 - Revision: 5.1

Microsoft SQL Server 7.0 Service Pack 2

  • kbnosurvey kbarchive kbbug kbfix KB274467