Focal Point
[CLOSED] updating a table with identity key

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/6207001096

May 07, 2018, 09:58 AM
vnf
[CLOSED] updating a table with identity key
Hello,

I am trying to update a table that has a identity column as key using data Migrator.
I am passing the secondary key (ID) but
When I run my data flow I am getting an error
XXX Row(s) rejected due to no match. I think it is because the Identity can not be set in the flow. Can someone tell me how to overcome this issue of identity keys?

thanks,

VNF

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.1.0.5,
Application Studio,
Webfocus Info-Assist
iWay Service Manager,
iWay Data Migrator
Windows, All Outputs
IBM DB2/400, MS SQL-Server 2012
May 08, 2018, 12:54 PM
Max Nevill
Maybe it's just me but a little more info would help.

How many joins do you have? Have you tried switching the loader option? i.e. bulk load vs insert from memory?

Are you creating a new table or are you adding to an existing table?


WebFocus 8.104
Windows 7 Entreprise, SP1
May 08, 2018, 07:14 PM
vnf
let's say I have a table store with the following fields:
Store_key is an identity key,
store_id is a unique index,
store_name name of the store, etc.

I have a data flow that I want to update this store table. I can find the store_id but I could not update the record because iDM could not find a proper match with store_key.
Can someone please help me with this?

thanks


WebFOCUS 8.1.0.5,
Application Studio,
Webfocus Info-Assist
iWay Service Manager,
iWay Data Migrator
Windows, All Outputs
IBM DB2/400, MS SQL-Server 2012
May 09, 2018, 10:24 AM
Clif
A similar question was asked in this post which may be helpful:
Best way to ignore a surrogate key when loading a table through a flow