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

Explain dynamic target flat file name generation in informatica

645


How to do the error handling of if ur source is flatfiles?

1508


What is the surrogate key?

633


can u any challenge your project?

1602


what is unit testing?tell me proceedure

1774






What's the layout of parameter file (what does a parameter file contain?)?

1914


Briefly define a session task?

588


what is index?how it can work in informatica

1579


Did u used latest transformations of 8.6.0? for what?

1474


What is event and what are the tasks related to it?

612


what are the fact table & dimensional table in pharmaceutical and hospotal related products???

1697


How to extract sap data using informatica?

606


complex mapping ur project u r invlve can u explain and give real time example give me ?

1837


How do you load alternate records into different tables through mapping flow?

1289


What are the conditions needed to improve the performance of informatica aggregator transformation?

578