You are currently offline, waiting for your internet to reconnect

FIX: Text Column Update Through a Cursor Greater Than 1,988 Bytes Gets Error 702

This article was previously published under Q174221
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 17192 (sqlbug_65)

If you are using sp_cursor open to perform updates through a cursor and thesum of columns is greater than 1,988 bytes (or the sum of all columnsupdated totals more than 1,988 bytes) the following error 702 will occur:
Msg 702, Level 20, State 1
Memory request for 2046 bytes exceeds the size of single page of 2044 bytes.
The SQL Server is terminating this process.
The number of bytes exceeded will change, depending on the size of theupdate.
To work around this problem, either use ANSI cursors or limit the size ofthe TEXT/IMAGE update being done through the cursor.
Microsoft has confirmed this to be a problem in SQL Server version 6.5.This problem was corrected in the latest Microsoft SQL Server 6.5 U.S.Service Pack. For information on obtaining the service pack, query onthe following word in the Microsoft Knowledge Base:
sp_cursoropen 702 cursor

Article ID: 174221 - Last Review: 11/01/2013 23:42:00 - Revision: 4.0

Microsoft SQL Server 6.5 Standard Edition

  • kbnosurvey kbarchive kbbug kbfix kbusage KB174221