In this blog post, let’s learn about the error message “1591 The MAXVALUE option for the col-namemust be equal to or greater than the current value of seq-gen-value.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
1591 The MAXVALUE option for the col-namemust be equal to or greater than the current value of seq-gen-value.
Reason for the Error
You specified MAXVALUE which was less than the current value of internal sequence generator.
Solution
Specify a MAXVALUE equal to or greater than the current value of internal sequence generator and resubmit the statement