Let’s say I have more than have record in source table and I
have 3 destination table A,B,C. I have to insert first 1 to
10 records in A then 11 to 20 in B and 21 to 30 in C.
Then again from 31 to 40 in A, 41 to 50 in B and 51 to 60 in
C……So on up to last record.

Answer Posted / nitin

Source->SQ_>Expression->Router-> Tgt 1,Tgt 2,Tgt 3
In the mapping define a variable Run_count of Aggregation type as count
in router add three groups.
Run_count = 1--> then connect the data to tgt 1
Run_Count = 2-->Tgt2
Run_Count = 3-->Tgt3

In the expression transformation add a condition IIF(Run_Count > 3,1,Run_count)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

690


update strategy transformation in informatica

745


How to generate sequence numbers using expression transformation?

729


What is a snowflake schema?

655


What is the benefit of session partitioning?

700






What is resilience time?

749


What are pre and post-session shell commands?

851


What is the need of an ETL tool?

731


What is informatica etl tool?

644


What is intricate mapping?

690


What are roles and groups and benefits of using them?

656


Please tell me which institute is the best to study Informatica and asp.net in chennai Also please send me the latest interview questions in asp.net,c# and sql server to my id ramtryin@gmail.com

1681


What is an unconnected transformation?

764


write a query to retrieve the latest records from the table sorted by version(scd)

721


What is update strategy transform?

696