HPE NonStop SQL/MX Error – 4183 Embedded DELETE statements are not allowed on referenced tables.

In this blog post, let’s learn about the error message “4183 Embedded DELETE statements are not allowed on referenced tables.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4183 Embedded DELETE statements are not allowed on referenced tables.

Reason for the Error

You attempted to perform an embedded DELETE statement on a table with a referential constraint.

Solution

Modify the statement and resubmit