HPE NonStop SQL/MX Error – 1572 The seq-gen-optionvalue cannot be a negative number for col-name.

In this blog post, let’s learn about the error message “1572 The seq-gen-optionvalue cannot be a negative number for col-name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

1572 The seq-gen-optionvalue cannot be a negative number for col-name.

Reason for the Error

A negative value is specified for the internal sequence generator option (seq-gen-option).

Solution

Specify a positive value for the internal sequence generator option, and resubmit the statement