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 > Informational Constraints

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-02-11, 04:06
Breako Breako is offline
Registered User
 
Join Date: Jan 2006
Posts: 119
Informational Constraints

An informational constraints is not enforced in INSERTs and UPDATEs. This means you can insert data which violates your informational constraint. However, it also means you will not see this data in a SELECT. Is there anyway you can see the data without removing constraint.

Cheers.
Reply With Quote
  #2 (permalink)  
Old 08-02-11, 05:56
tonkuma tonkuma is offline
Registered User
 
Join Date: Feb 2008
Location: Japan
Posts: 2,193
Quote:
... it also means you will not see this data in a SELECT.
What did you mean by "this data"?
I thought that I can see any data in a table, if it was not gurded by some security functions.
Can you show an example?
Reply With Quote
  #3 (permalink)  
Old 08-02-11, 06:29
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
I think he/she wants a report of data which is inconsistent according to the informational contraints. Kind of a "set integrity" in pro-deo mode

Not possible as far a I know. Not too hard to code in SQL yourself.
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