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: Constraint Question - Deferred or Not Deferred?

Re: Constraint Question - Deferred or Not Deferred?

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Wed, 16 Nov 2005 22:25:56 +0100
Message-ID: <7r8nn19o1lnac1e2o0516pu8br0uebkfrb@4ax.com>


On 16 Nov 2005 12:43:38 -0800, "art_at_chicagorsvp.com" <art_at_chicagorsvp.com> wrote:

>Hi,
>
>I am having trouble understanding the following states of a constraint:
>
>Initially Immediate
>Initially Deferred
>NoValidate
>
>>From my understandings, Initially Immediate means check the constraint
>as soon as the user hits enter.

more exactly, upon INSERT, UPDATE, DELETE

 Initially Deferred means to check the
>constraint when the user types commit.
>

As soon as a commit is being issued.

>Novalidate, I think, means not to check the data in the table. From
>what I have read, when a constraint is 'Novalidate', it creates a
>non-unique index, I assume to keep track of what was in the table?
>

I don't think so. I'm not aware of automatic non-unique indexes on foreign keys at least.

>If I have a disabled constraint and want to enable it and not check
>what is in the table, can I alter the constraint to Novalidate?
>

Yes
>I also heard of a Reply and NoReply state, which I have not read about
>yet.....
>
>Thanks.

Read that
Rely and NoRely.
Never needed to use it.

--
Sybrand Bakker, Senior Oracle DBA
Received on Wed Nov 16 2005 - 15:25:56 CST

Original text of this message

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