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

I need the output file in the below format using Informatica. __0946684800__ 6 1 3 1 5 1 6 1 10 1 6 10 Pos State Time Split AgentID Reason Spaces Code in Code Spare state ______ ___ _____ ______ __________ ______ 1234 14 0 4321 3103 abcd 4321 15 5 123452 3150 Can someone help please?? We need the data in space-delimited, fixed ASCII format .

1692


What are batches?

808


What is the difference between source qualifier transformations source filter to filter transformation?

838


How to differentiate between the active and passive transformations?

830


What are ETL Tools?

847


What you know about transaction control transformation?

749


What is the difference between a connected look up and unconnected lookup?

758


Mention some types of transformation?

799


How union transformation is used?

771


Under what condition selecting sorted input in aggregator may fail the session?

860


What is informatica worklet?

786


What is status code in informatica?

780


The question was on time stamp. what is the difference between HH and HH24 when to use when.

1812


Explain pushdown optimization and types in informatica

843


What is target designer and target load order?

845