BUG: Corrrelated Subquery with WHERE, GROUP BY, and HAVING Clauses May Raise Error 803

ID: Q198161


The information in this article applies to:

BUG #: 18139 (SQLBUG_65)

SYMPTOMS

When using a correlated subquery that contains a GROUP BY, a HAVING, and a WHERE clause, the query may result in error 803.

The following conditions must be met to raise error 803:

The following is error 803:
Msg 803, Level 20, State 2
Unable to place buffer 0x0 holding logical page 1336 in sdes for object
'tbl1' - either there is no room in sdes or buffer already in requested
slot.

The SQL Server is terminating this process.

DB-Library: Possible network error: Write to SQL Server Failed.
Net-Library error 232: ConnectionWrite (GetOverLappedResult()).

DB-Library Process Dead - Connection Broken


WORKAROUND

To work around this problem, try one of the following:


STATUS

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


MORE INFORMATION

This problem does not occur on SQL Server 7.0.

Additional query words: err message


Keywords          : SSrvTran_SQL kbbug6.50 
Version           : WINNT:6.5
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: April 19, 1999