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 / triveni munnangi

source_>sq->expression->router->tg1
->tg2
expression:v_count decimal 10 0(variableport) setvariable($$cnt,1)
o_count decimal 10 0 (outputport) $$cnt
router:groups
t1=o_count=0
0_count=1
$$cnt variable integer 10 0 max false

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you copy the content of one repository to another repository?

561


Design a mapping to load the cumulative sum of salaries of employees into target table?

900


What is the meaning of up gradation of repository?

1391


What is the use of source qualifier?

674


What are some examples of informatica etl programs?

540






How do you promote a non-reusable transformation to reusable transformation?

663


How to go to the older version for a mapping?

606


how can we find the bottle neck in SQL Query in SOURCE QUALIFIER, and how can we tune it..?

5828


What is a snowflake schema?

573


Define the various join types of joiner transformation?

561


What are active transformations.

1190


differences between service based and product based?

1567


3.how will u get information about bugs how will u rectify the bugs in realtime whch tool we are using to rectify the bugs

1760


Enlist few areas or real-time situations where informatica is required.

597


What is the session task and command task?

601