HPE NonStop SQL/MX Error – 1612 Constraint constraintName could not be created as it is a duplicate of constraintName.

In this blog post, let’s learn about the error message “1612 Constraint constraintName could not be created as it is a duplicate of constraintName.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

1612 Constraint constraintName could not be created as it is a duplicate of constraintName.

Reason for the Error

You attempted to create a column list and the referential actions of a referential integrity constraint, which matches the column list and referential action of another referential integrity constraint in the table.

Solution

None