Implementing ON DELETE CASCADE without a foreign key
SM_308Dec 18 2008 — edited Dec 18 2008DB Version:10gR2
I have two tables DEPT and EMP. I have a requirement in which if i delete a row from DEPT it should be deleted from EMP as well. But when i insert a row into EMP that row doesn't not have to be present in the DEPT table. ie. I don't want a Foreign key, but i just need ON DELETE CASCADE functionality.
Is this possible in any way?