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 SET NULL ??

RE: ON DELETE SET NULL ??

From: Igor Neyman <ineyman_at_perceptron.com>
Date: Mon, 19 May 2003 11:42:19 -0800
Message-ID: <F001.0059CDBF.20030519114219@fatcity.com>


If referenced RECORDING_ID in "parent" ED_RECORDINGS gets deleted, then RECORDING_ID in "child" table ED_RECORDINGS_PAYMENTS will be set to null.

Igor Neyman, OCP DBA
ineyman_at_perceptron.com

-----Original Message-----
Linsy
Sent: Monday, May 19, 2003 1:57 PM
To: Multiple recipients of list ORACLE-L

Hi,

I used Erwin 3.5.2 to generate script. The DDL has the following, what exactly is ON DELETE SET NULL part?

ALTER TABLE ED_RECORDINGS_PAYMENTS

       ADD FOREIGN KEY (RECORDING_ID)
                             REFERENCES ED_RECORDINGS
                             ON DELETE SET NULL;

Thanks in advance.

Janet



Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
--

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

Author: Janet Linsy
  INET: janetlinsy_at_yahoo.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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.net
--

Author: Igor Neyman
  INET: ineyman_at_perceptron.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Mon May 19 2003 - 14:42:19 CDT

Original text of this message

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