SAP Knowledge Base Article - Preview

2688472 - A query with order by failed with Msg 511, Level 16, State 5 - SAP ASE

Symptom

  • Running a select query with order by that access a wide table with many text/image columns may failed with the following error:
     
    Msg 511, Level 16, State 5
    Server 'TST', Line 1
    Attempt to update or insert row failed because resultant row of size 2028 bytes is larger than the maximum size (1962 bytes) allowed for this table.

  • The query is similar this: "select * from table order by 3"


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise 16.0

Keywords

KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.