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

Home -> Community -> Usenet -> c.d.o.server -> Cascaded Updates

Cascaded Updates

From: Stan <delphiDev_at_yahoo.com>
Date: Mon, 12 Apr 1999 11:01:18 -0400
Message-ID: <37120ABD.FBC85553@yahoo.com>


Does Oracle support Cascaded Updates? (i.e. if I change the primary key in a referencing table, will oracle go through and changes all references in the referencing table).

I have tried the following:
CREATE TABLE MAINTABLE(MAINCODE CHAR(5) NOT NULL, COD1 CHAR(5),PRIMARY KEY(MAINCODE),
FOREIGN KEY(COD1) REFERENCES SUBDETAIL(COD1) ON UPDATE CASCADE); Thanks, Stan. Received on Mon Apr 12 1999 - 10:01:18 CDT

Original text of this message

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