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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: ON DELETE CASCADE

Re: ON DELETE CASCADE

From: david wendelken <davewendelken_at_earthlink.net>
Date: Mon, 3 May 2004 11:43:48 -0700 (PDT)
Message-ID: <20475855.1083609828174.JavaMail.root@louie.psp.pas.earthlink.net>


You will find the syntax in the FK, not the PK.

That's because you might want different results if you had more than one "child" table.

>What is the proper syntax to modify the PK so that it
>will delete records in the child table when I purge
>records from the parent table?



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Mon May 03 2004 - 13:40:50 CDT

Original text of this message

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