Create a mapping which contains 2 target tables. When the
session runs for the first time it shud load Target table 1
and when it runs for second time it shud load Target
table 2.

Answer Posted / perumal

Source -> sq -> sequence Generator -> exp trans -> router
trans -> tgt1/tgt2

create variable nxt_val with next value return from seq gen
and in router give rule as mod(nxt_val,2)<>0 to load tgt1
(since first run value will be 1) and mod(nxt_val,2)=0 to
load tgt2.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

generate date / time dimension in informatica

715


COM components can be used in Informatica

1867


What is deployment group?

680


what are the Methods For Creating Reusable Transformations?

643


What is the session task and command task?

591






Explain what transformation and how many are there in informatica?

480


list out all the transformations which use cache?

683


Why update strategy and union transformations are active? Explain with examples.

701


What will happen if the select list columns in the custom override sql query and the output ports order in sq transformation do not match?

546


What do think which one is the better joiner or look up?

717


How to join three sources using joiner? Explain though mapping flow.

689


What is the command used to run a batch?

571


What does command task mean?

603


Sequence generator, when you move from develoment to production how will you reset

1397


What do you mean by DTM and Load manager and what is difference between load manager and load balancer?

630