I have some rows in source.I have to map half rows to one target and half rows to another target.i.e you wont know how many records in source.?Implement a mapping?



I have some rows in source.I have to map half rows to one target and half rows to another target.i.e..

Answer / dilip ingole

use sql override in SQ
ans use query as fellow

SELECT NUM,CASE WHEN ROWNUM <=(SELECT COUNT(1)/2 FROM TABLE_NAME) THEN 1 ELSE 0 END FLAG FROM TABLE_NAME;

in informatica filter record based on flag if flag is 1 then send it to one target else to second target

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

Separate from an archive server and a powerhouse?

0 Answers  


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.

5 Answers  


How can yoU improve session performance in aggregator transformation?

8 Answers   TCS,


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

0 Answers  


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

0 Answers  


I cleared Informatica certification Designer. if anybody need dumps, can contact at mukesh1009@gmail.com

119 Answers   Accenture, Gcs, TCS,


how to create a sample mapping for dynamic lookup transformation

2 Answers  


Can we use the mapping parameters or variables created in one mapping into another mapping?

1 Answers   Informatica,


what is degenerated dimension table with scenario

2 Answers   HCL,


I have a scenario with lookup table. in that lookup table have colomns, but i need to process only 10 colomns out of 50. Please te me how can we acheive it?

6 Answers   TCS,


How many repositories can we create in Informatica?

3 Answers  


What are the session parameters?

3 Answers  


Categories