HPE NonStop SQL/MX Error – 4204 Stream access is supported for only key-sequenced tables. Table: name.

In this blog post, let’s learn about the error message “4204 Stream access is supported for only key-sequenced tables. Table: name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4204 Stream access is supported for only key-sequenced tables. Table: name.

Reason for the Error

You attempted to use stream access on a table that is not key-sequenced, which is required.

Solution

Modify the statement and resubmit