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

ID: Q174221

------------------------------------------------------------------------ The information in this article applies to: - Microsoft SQL Server, version 6.5 ------------------------------------------------------------------------ BUG #: 17192 (sqlbug_65) SYMPTOMS ======== If you are using sp_cursor open to perform updates through a cursor and the sum of columns is greater than 1,988 bytes (or the sum of all columns updated 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 the update. WORKAROUND ========== To work around this problem, either use ANSI cursors or limit the size of the TEXT/IMAGE update being done through the cursor. STATUS ====== 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 on the following word in the Microsoft Knowledge Base (without the spaces): S E R V P A C K

Keywords          : kbusage SSrvAdmin kbbug6.50 kbfix6.50.sp4 
Version           : WINDOWS:6.5
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: December 21, 1997