HPE NonStop SQL/MX Error – 1122 The number of specified partition key values (partition-key-value-list) for object object-name exceeds the number of user defined key columns, key-col-number.

In this blog post, let’s learn about the error message “1122 The number of specified partition key values (partition-key-value-list) for object object-name exceeds the number of user defined key columns, key-col-number.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

1122 The number of specified partition key values (partition-key-value-list) for object object-name exceeds the number of user defined key columns, key-col-number.

Reason for the Error

The number of specified partition key values (partition-key-value-list) for object object-name exceeds the number of user-defined key columns, key-col-number.

Solution

Fix the statement and resubmit