In this blog post, let’s learn about the error message “1108 The number of columns specified in the view column list, view-col-num, does not match the degree of the query expression, query-col-num.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
1108 The number of columns specified in the view column list, view-col-num, does not match the degree of the query expression, query-col-num.
Reason for the Error
The number of columns in the query do not equal the number of columns specified for the view.
Solution
Specify a query statement that has a degree that matches the number of columns in the view column list, and resubmit