source : col1 101 101 101 102 102 102 103 103 103
col2 1000 1500 2000 1200 2300 3000 2400 1300 2000
i need target as
col1 101 102 103
col2 1000,1500,2000 1200,2300,3000 2400 1300 2000
Answer Posted / s
INPUT
col1 col2
101 1000
101 1500
101 2000
102 1200
102 2300
102 3000
103 2400
103 1300
103 2000
OUTPUT
col1 col2
101 1000,1500,2000
102 1200,2300,3000
103 2400,1300,2000
SOURCE->SRT->EXP->TGT
SRT - Sort by column col1.
EXP - col1
col2
v_col2=iif(v_col1=col1,v_col2||','||col2,col2)
v_col1=col1
o_col1=v_col1
o_col2=v_col2
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
can any one explain me what i have to tell about insurance project in interview,,,,when he asked to tell about ur project
Can we get 1st record through Informatica(without sequence number).
How many types of sessions are there in informatica.please explain them?
What is the difference between power center and power mart? What is the procedure for creating independent data marts from informatica 7.1?
Explain the tuning lookup transformation - informatica
Clarify the utilization of aggregator cache record?
How to load last n records of file into target table - informatica
What are the validations that you can perform in oracle and in informatica ? Advance Thanks
What is lookup change?
Suppose we have two source qualifier transformations sq1 and sq2 connected to target tables tgt1 and tgt2 respectively. How do you ensure tgt2 is loaded after tgt1?
source : xml file target: xml file how can we check data loaded into target xml file using writing sql query. pls help on this asap.
How to generate sequence numbers using expression transformation?
How might you approve all mappings in the archive all the while?
What are the new features of informatica 9.x at the developer level?
What are the features of complex mapping?