HPE NonStop SQL/MX Error – 20422 Table table-name must be owned by user-name.

In this blog post, let’s learn about the error message “20422 Table table-name must be owned by user-name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

20422 Table table-name must be owned by user-name.

Reason for the Error

The model table is not owned by the same user as the target table.

Solution

Specify a model table that is owned by the same user as the target table