Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Cascade DELETE

Cascade DELETE

From: miguel <jmiguel_at_cet.pt>
Date: 1998/01/29
Message-ID: <01bd2ccd$7fc86800$0a0a2c0a@jmiguel.cet.pt>#1/1

Hi,

Tables EMP(DEPTNO,DNAME) and DEPT(DEPTNO,ENAME) with the column EMP.DEPTNO referencing DEPT.DEPTNO.

Is it possible, in one SQL statment, to delete rows from the child table when i delete the referenced row in the parent table? I´m searching an alternative to triggers.Which is the best choice?

Thanks
Miguel Received on Thu Jan 29 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US