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

Home -> Community -> Mailing Lists -> Oracle-L -> deferred constraints

deferred constraints

From: Bill Becker <beckerb_at_mfldclin.edu>
Date: Fri, 05 Apr 2002 06:58:40 -0800
Message-ID: <F001.0043CDBD.20020405065840@fatcity.com>


Hello,

Env: 8.1.6.0.0 on Solaris 2.7

>From reading the docs regarding constraint states, it sounds
like there is no difference in constraint behaviour between a constraint created as "not deferred" vs a constraint created as "deferred" and "initially immediate". Is this correct?

The only difference I can see is that a constraint created as "deferred" can subsequently be altered to other constraint states, whereas a constraint created as "not deferred" cannot.

If the above is correct, is it a good practice to make the default for constraint creation "deferred" and "initially immediate"? The justification for this would be the flexibility of altering the constraint state, should the need ever arise.

How do most of you create your constraints, as deferred or not deferred?

Thanks to any responders.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Bill Becker
  INET: beckerb_at_mfldclin.edu

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: 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 Fri Apr 05 2002 - 08:58:40 CST

Original text of this message

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