HPE NonStop SQL/MX Error – 12322 Creation failed. The same table is used more than once. Incremental refresh type cannot be specified.

In this blog post, let’s learn about the error message “12322 Creation failed. The same table is used more than once. Incremental refresh type cannot be specified.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

12322 Creation failed. The same table is used more than once. Incremental refresh type cannot be specified.

Reason for the Error

You attempted to reference or use the same table more than once in the materialized view definition.

Solution

Use a table only once in the materialized view definition and resubmit the statement