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: Richard Huntley <rhuntley_at_mindleaders.com>
Date: Tue, 18 Jun 2002 09:19:11 -0800
Message-ID: <F001.00480671.20020618091911@fatcity.com>


Stephanie, wouldn't it be easy enough to find out what is referencing what? If the developer doesn't know, just
ask the DBA. If the DBA doesn't know, then time to find another one. The use of ON DELETE CASCADE is commonly use to maintain data integrity, so unless there is a very good reason not to use it, why waste time writing a script?

-----Original Message-----
Sent: Tuesday, June 18, 2002 8:53 AM
To: Multiple recipients of list ORACLE-L

>From: "Malik, Fawzia" <Fawzia.Malik_at_bskyb.com>
>To: Multiple recipients of list ORACLE-L
><ORACLE-L_at_fatcity.com>
>Sent: Tue, 18 Jun 2002 03:38:25
>
>
>Hi Gurus,
>
>I have just been told by a colleague that I must
>not use "On delete Cascade"
>as for sure it could have serious negative
>implications!!!! We need to be
>able to remove an entry and to avoid writing a
>script (deleteing children
>then parent) I was just doing to set the above...
>Anyone have any opinions on this???
>
>Best Rgds
>
>Fawzia
>

Fawzia,

   Write the script. I have seen very tense situations because a $%$@ç#& developer had used DELETE CASCADE and a lot of important info was deleted by mistake. You do not always have a clear idea of what references what.

Regards,

Stephane Faroult
Oriole

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroul
  INET: sfaroult_at_oriolecorp.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Richard Huntley
  INET: rhuntley_at_mindleaders.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Jun 18 2002 - 12:19:11 CDT

Original text of this message

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