Make sure the action you set in the ON DELETE or ON UPDATE clause doesn't make a conflict with the foreign key field. That´s to say, you can't use ON DELETE SET NULL if the foreign key field has a NOT NULL clause. I hope this was your problem.

Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.