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

Is it possible to revert a global repository to local one and why?

615


Make a note of the quantity vaults made in informatica?

561


Global and Local shortcuts. Advantages.

1472


Write the prerequisite tasks to achieve the session partition?

653


How would you join a node to the already existing domain?

683






Differentiate between sessions and batches?

577


Where is metadata stored?

623


How can you differentiate between powercenter and power map?

626


Mention a few design and development best practices for informatica?

563


what is Active lock explain

2372


What is the commit type if you have a transaction control transformation in the mapping?

654


What differs when we choose the sorted input for aggregator transformation?

575


Explain what transformation and how many are there in informatica?

489


What are the types of caches in lookup?

575


What is decode in static cache?

596