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

have u done any performance tuning? how u ll do?

2070


What is the difference between a repository server and a powerhouse?

1156


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

1183


What are mapplets? How is it different from a Reusable Transformation?

853


What are roles and groups and benefits of using them?

773


What is mapping debugger?

749


can u give example for factless fact table

5961


Explain the different dimensions.

733


What is an Integration service in Informatica?

899


What is rank index in rank transformation?

805


What is a connected transformation?

874


What does role playing dimension mean?

803


If i have source as flat file. how can i store the header and trilor into one target and data into one more target. |------>target1(header+trailor) source------ |------>target2(data) can any one please help me

1756


What are the static cache and dynamic cache in informatica?

958


Different sorts of metadata that stores in the storage facility?

777