Reputation: 53
I have Phone table with columns :
Clien_ID,Phone_num,Phone_Extention,Phone_Type,Last_Updated_Dt,Created_Dt
I am getting fixed width flat file which I will loading in staging table in sql.
I have to update the records in Phone table in terms of phone_num,Phone_Extention,Last_Updated_Dt for each phone type (based on matching Client ID) if Last_Updated_Dt of flat file record is greater than existing Last_Updated_dt and insert a new record of phone type of client does not exist.
How can I implement in informatica.
Upvotes: 0
Views: 997
Reputation: 1118
SRC->SQ->LKP->RTR->TGT_ins
\>UPD_upd->TGT_upd
The SRC is the flatfile, the LKP is against your target (match on Client_ID), the UPD_upd should be set to DD_UPDATE, and now for the 'hard' part, the router and its ports:
Upvotes: 1