-7037: NULL value for NOT NULL column not allowed

Explanation:

The error message occurs when a referential CONSTRAINT definition is executed and ON DELETE SET NULL is specified in the DELETE rule if a column (referencing_column) does not permit the NULL value.

User Action:

Choose another action in the DELETE rule or admit the NULL value for the corresponding column(s) in the referencing table.