![]() | ![]() |
Home |
|
|
Troubleshooting and Error Messages Guide |
|
| Chapter 3 Error Message Writeups |
|
| Query Processor Errors |
|
| Error 511 |
16
Attempt to update or insert row failed because resultant row of size %d bytes is larger than the maximum size (%d bytes) allowed for this table.
Updated or inserted row is bigger than maximum size (%d bytes) allowed for this table.
This error occurs when you try to insert or update a row that is longer than the maximum allowable length. On a server with 2K page size, rows consist of 1962 characters; allow 2 characters of row overhead for APL tables, for a maximum usable row size of 1960. For DOL tables, subtract two characters per varchar column in determining usable row size.
Error 511 is caused by database design errors (for example, a table designed with the potential for rows containing more than the maximum allowable characters).
The following warning is given when you create a table that has the potential for rows exceeding the maximum row size (that is, the maximum length of all columns added up is greater than the allowable number of characters):
Msg 1708, Level 16, State 1:Warning: Row size could exceed row size limit, which is %d bytes.
If Error 511 is being caused by a table containing rows with more than the maximum row size, divide the table into two or more tables so that no row length is more than the allowable number of characters.
If the 511 error occurring on your database does not appear to be caused by the above situation, call Sybase Technical Support.
All versions
|
|