In this blog post, let’s learn about the error message “1615 constrainttype cannot be created, since it conflicts with referentialaction referential action of the referential constraint ConstraintName.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
1615 constrainttype cannot be created, since it conflicts with referentialaction referential action of the referential constraint ConstraintName.
Reason for the Error
The NOT NULL constraint cannot be created on a referencing column with the SET NULL referential action on it. (OR) The primary key constraint cannot be created on the referencing column with the referential action specified because the primary key cannot be updated.
Solution
Drop the referential integrity constraint