In this blog post, let’s learn about the error message “20689 The WHERE clause cannot be used with seq-name because it is a sequence generator.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
20689 The WHERE clause cannot be used with seq-name because it is a sequence generator.
Reason for the Error
You specified the WHERE clause in the request to move the partition of a sequence generator to a new location.
Solution
None