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 > Table filtering mode

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-04-09, 05:44
ahmedwaseem2000 ahmedwaseem2000 is offline
Registered User
 
Join Date: Jan 2005
Posts: 75
Table filtering mode

How do we enable the table for filtering mode in DB2 same as informix?
Reply With Quote
  #2 (permalink)  
Old 06-04-09, 06:40
Stealth_DBA Stealth_DBA is offline
Registered User
 
Join Date: May 2009
Posts: 472
ahmedwaseem2000, can you explain a little more about what you need. I am not familiar with Informix and and don't know what table filtering is in relation to it.
Reply With Quote
  #3 (permalink)  
Old 06-04-09, 10:19
ahmedwaseem2000 ahmedwaseem2000 is offline
Registered User
 
Join Date: Jan 2005
Posts: 75
I mean at times when we have to do a bulk load and to avoid the load failures we enable the constraint mode to filter which would write all the records that fail a constraint to an error table. So, I was just curious if there is something similar like this in DB2
Reply With Quote
  #4 (permalink)  
Old 06-04-09, 10:37
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Yes, there is. Download manual. It is there.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
  #5 (permalink)  
Old 06-04-09, 11:27
ahmedwaseem2000 ahmedwaseem2000 is offline
Registered User
 
Join Date: Jan 2005
Posts: 75
could you please give me the reference to the manual???
Reply With Quote
  #6 (permalink)  
Old 06-04-09, 12:01
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Sure thing

IBM - DB2 9.1 for Linux, UNIX and Windows manuals

the one that you are looking for specifically is "Command Reference", but do not neglect others.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
  #7 (permalink)  
Old 06-04-09, 12:03
Stealth_DBA Stealth_DBA is offline
Registered User
 
Join Date: May 2009
Posts: 472
Here is a link to the IBM - DB2 Version 9.5 for Linux, UNIX and Windows English manuals. I believe you want the Command Reference manual.
Reply With Quote
  #8 (permalink)  
Old 06-04-09, 15:22
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by ahmedwaseem2000
I mean at times when we have to do a bulk load and to avoid the load failures we enable the constraint mode to filter which would write all the records that fail a constraint to an error table. So, I was just curious if there is something similar like this in DB2
There is a similar capability in DB2, although it is not a table property but rather an option that you can choose when running a LOAD command or enable the referential integrity by SET INTEGRITY. Exceptions then will be moved into an exception table instead of causing the command to fail. You will find details in the manuals, the link to which has been already provided.
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