If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Deferred Constraint Checking

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-23-03, 18:43
theyoungones74 theyoungones74 is offline
Registered User
 
Join Date: Oct 2003
Posts: 1
Deferred Constraint Checking

Hello,

I'm working with DB2 version 8.1 and I'm wondering if DB2 has deferred constraint checking. Deferred constraint checking is delaying checks on things such as not null columns, foreign keys, etc. until transaction commit time.

The equivalent in Oracle would be:

CREATE TABLE orders
(ord_num NUMBER CONSTRAINT unq_num UNIQUE (ord_num)
INITIALLY DEFERRED DEFERRABLE);

Please let me know if DB2 has an equivalent.

TIA
Steve
Reply With Quote
  #2 (permalink)  
Old 10-24-03, 02:29
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
No, DB2 does not defer constraint checking until commit time. DB2 has some deferred constraint checking using the load utility, but not what you are talking about.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On