Title: RE: On delete cascade

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-----
From: Stephane Faroult [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 8:53 AM
To: Multiple recipients of list ORACLE-L
Subject: RE: On delete cascade


>From: "Malik, Fawzia" <[EMAIL PROTECTED]>
>To: Multiple recipients of list ORACLE-L
><[EMAIL PROTECTED]>
>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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to