HPE NonStop SQL/MX Error – 1140 Row-length actual-row-length exceeds the maximum allowed row-length of maximum-row-length for table-or-indexname .

In this blog post, let’s learn about the error message “1140 Row-length actual-row-length exceeds the maximum allowed row-length of maximum-row-length for table-or-indexname .” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

1140 Row-length actual-row-length exceeds the maximum allowed row-length of maximum-row-length for table-or-indexname .

Reason for the Error

On a CREATE or ALTER TABLE statement or a CREATE INDEX statement, the size of the row exceeds the maximum allowed row size.

Solution

See the SQL/MX Reference Manual for row size limit calculations. Change the column definitions and reissue the statement