HPE NonStop SQL/MX Error – QL 1212012120 operation cannot be created because a object exists on table table-name.

In this blog post, let’s learn about the error message “QL 1212012120 operation cannot be created because a object exists on table table-name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

QL 1212012120 operation cannot be created because a object exists on table table-name.

Reason for the Error

You attempted to create a trigger on a table on which a materialized view exists. Or, you created a materialized view on a table on which a trigger exists. Triggers and materialized views cannot coexist on a table.

Solution

Drop the conflicting object and resubmit the statement