On a day, I load 10 rows in my target and on next day if I
get 10 more rows to be added to my target out of which 5 are
updated rows how can I send them to target? How can I insert
and update the record?

Answer Posted / animesh

I think what u can do is u can create a mapping by using
mapping wizard and apply SCD 2 as in SCD u can get historic
data while in SCD one u can onlly get the latest data.

create a mapping using SCD 2
Give the source and target tables.
Give the fields on which u want to implement the history
logic and then just complete the wizard.

the mapping will be created which will have 3 Update
strategy transformation which is basically one for insert
only flow, one for insert and update flow. and one for
insert and update flow also the previous records available.

The other transformations presented in mapping are in the
below manner.

Source --->> SQ --->>> Seq Gen --->>>> Lookup (For target
table lookup)--->>>>> Update Strg (3 nos) ---- >>>> Exp
Tr ---->>>>>> Target table.

Hope this will give you the clear understanding. guys
please correct me if i missed some thing.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you generate sequence numbers without using the sequence generator transformation?

603


what kind of issue you will get in environment? (we ll call help desk to raise ticket rite?

1626


State the limitations where we cannot use joiner in the mapping pipeline?

549


How do you set a varible in incremental aggregation

1451


What are the types of caches in lookup?

572






What is a stored procedure transformation?

611


Differentiate between source qualifier and filter transformation?

1000


How can we use batches?

606


can any one give some examples for pre sql and post sql(Except dropping and creating index).

3511


Can u generate reports in Informatica?

658


Whats the difference between informatica powercenter server, repositoryserver and repository?

677


Can we create a node as a gateway node and the same node can be assigned to a grid?

639


How to load a Dimension ? and how to load a fact table?

955


What are connected or unconnected transformations?

630


What is Data Caches size?

658