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 > Utilities that will do an update

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-05-09, 14:59
keitht keitht is offline
Registered User
 
Join Date: Jun 2004
Location: Illinois
Posts: 6
Utilities that will do an update

We have been using a third party data loading utility called Optiload. Unfortunately support for it will be discontinued with version 9 of DB2. One of it's features was that it could do updates much like import can but nearly as fast as the loader. To replace it we are loading the data file to a staging table and then using a merge statement to update rows in the main claims table. This works most of the time except when the data file has multiple rows that have the same primary key but different column values. Merge fails when this is the case. We are not trying to put the dups in an exception table and run an SQL update against those rows in the exception table. This also fails when multiple rows exist in the table with the same primary key. Is there any loading utility that can support an insert with update like import but faster? Any other ideas?
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