FIX: Error 403 on Select w/ Nested Subqueries, Sums, and Groups (165559)



The information in this article applies to:

  • Microsoft SQL Server 6.5

This article was previously published under Q165559
BUG #: 16381 (6.50)

SYMPTOMS

While you are running a complex query consisting of a select with a number of nested subqueries, aggregate functions such as sum() and/or count(), and a 'group by' clause, you may receive the following error message:
Msg 403, Level 16, State 1
Invalid operator for datatype op: UNKNOWN TOKEN type: decimal

WORKAROUND

To work around this problem, avoid running such complex queries described above.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.

Modification Type:MajorLast Reviewed:10/3/2003
Keywords:kbBug kbfix kbother kbusage KB165559