I'm trying to perform the following statement into oracle:
alter table COMENTARIO
add constraint FK_COMENTARIO_DI foreign key (DI_ID)
references DATO_DE_INTERES (DI_ID) ON UPDATE CASCADE ON DELETE SET NULL;
However, I get ORA-00905 missing keyword.
When I remove the ON UPDATE statement though, the command works without any problem. Why is this? Is there any options in case I can't use ON UPDATE? Thank you beforehand!