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

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

ON DELETE CASCADE

From: <solbeach_at_cox.net>
Date: Mon, 3 May 2004 14:37:10 -0400
Message-Id: <20040503183712.YBBK8318.fed1rmmtao07.cox.net@smtp.west.cox.net>


OK, I'm having a brain cramp and can't find an SQL example. I have a table with a PK which has a child table associated with it by a FK.
The PK was not created with "ON DELETE CASCADE".

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:34:26 CDT

Original text of this message

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