Troubleshooting
Problem
Error running a report against Microsoft® SQL Server.
Cannot create a row of size xxxx which is greater than the allowable maximum row size of 8060.
Symptom
Error may occur in a report that has been running successfully in the past, a report that has been modified, or a newly created report. It may occur intermittently depending on prompt answers or changing underlying database data, or may occur consistently depending on the specific circumstances.
Example of the error when using Compatible Query Mode (CQM):
RQP-DEF-0177 An error occurred while performing operation 'sqlOpenResult' status='-237'.
UDA-SQL-0115 Inappropriate SQL request.
UDA-SQL-0564 [Microsoft SQL Server Native Client 11.0]Warning: Null value is eliminated by an aggregate or other SET operation. (SQLSTATE=01003, SQLERRORCODE=8153) UDA-SQL-0564 [Microsoft SQL Server Native Client 11.0]Cannot create a row of size 8074 which is greater than the allowable maximum row size of 8060. (SQLSTATE=42000, SQLERRORCODE=511)
Example of the error when using Dynamic Query Mode (DQM):
XQE-DAT-0001 Data source adapter error: com.microsoft.sqlserver.jdbc.SQLServerException: Cannot create a row of size 8062 which is greater than the allowable maximum row size of 8060.
XQE-DAT-0001 Data source adapter error: com.microsoft.sqlserver.jdbc.SQLServerException: Cannot create a row of size 8062 which is greater than the allowable maximum row size of 8060.
Cause
The error is being returned from the SQL Server database indicating that the operation has exceeded the maximum size of a row.
Refer to the microsoft article discussing this message:
https://learn.microsoft.com/en-us/sql/relational-databases/errors-events/mssqlserver-511-database-engine-error?view=sql-server-ver16
Refer to the microsoft article discussing this message:
https://learn.microsoft.com/en-us/sql/relational-databases/errors-events/mssqlserver-511-database-engine-error?view=sql-server-ver16
Resolving The Problem
Reducing the row size returned by reauthoring the queries or data containers in the report layout will be required to avoid this error.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m500000008d78AAA","label":"Reporting"}],"ARM Case Number":"TS015629019","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
08 March 2024
UID
ibm17131005