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 -> on delete cascade and dynamic sql

on delete cascade and dynamic sql

From: <kal121_at_my-deja.com>
Date: Thu, 19 Aug 1999 20:23:37 GMT
Message-ID: <7php3q$eto$1@nnrp1.deja.com>


Hi,

I have a procedure that uses dynamic sql to delete rows from a table. There is another table that has a foreign key "on cascade delete" to the primary key of the first table. This works fine in regular sql - when I delete parent rows, the corresponding child rows are also deleted. In dynamic sql, this doesn't happen! Does anybody know why?

Thx

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Thu Aug 19 1999 - 15:23:37 CDT

Original text of this message

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