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 -> Re: How to disable foreign key constraints in a stored procedure?

Re: How to disable foreign key constraints in a stored procedure?

From: Mladen Gogala <gogala_at_sbcglobal.net>
Date: Mon, 20 Mar 2006 04:14:34 GMT
Message-ID: <pan.2006.03.20.04.14.34.385289@sbcglobal.net>


On Fri, 17 Mar 2006 05:47:30 -0800, laredotornado wrote:

> Your suggestions are apprecaited, - Dave

My suggestion is: change the design. If you don't need foreign keys, drop them. If you do need them, then leave them in place. If you want to add child records before the parent records, that's what you have deferred constraints for. If you don't know how to do it, great, it's a wrong thing to do anyway.

-- 
http://www.mgogala.com
Received on Sun Mar 19 2006 - 22:14:34 CST

Original text of this message

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