In this blog post, let’s learn about the error message “1195 The number of columns for table-or-index exceeds the maximum limit of max-no-of-columns.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
1195 The number of columns for table-or-index exceeds the maximum limit of max-no-of-columns.
Reason for the Error
The number of columns for table-or-indexis higher than the permitted maximum. For SQL/MX R 3.0, the maximum is 2100.
Solution
Reduce the number of columns and then resubmit