Knowledge Base

FIX: A SELECT with a Large GROUP BY Clause May Return Error 614

Article ID: 165756

Article Last Modified on 10/3/2003


APPLIES TO


This article was previously published under Q165756
BUG #: 16675 (6.5)

SYMPTOMS

Doing a SELECT that contains a large GROUP BY list may result in error 614 and termination of the client session. The following is error 614:
Msg 614, Level 21, State 1
A row on page %ld was accessed that has an illegal length of %d in
database '%.*s'.
The SQL Server is terminating this process.

You may experience this problem if the total length of the columns making up the GROUP BY clause exceeds 512 bytes.

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.

Keywords: kbbug kbfix KB165756