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
What is a standalone command task?
Explain the code page compatibility?
What happen when you enable grid option avilable at session level ? (Ans found: Scalabily . A single session Parallelization) But how can one session is sharable among different nodes at the same time while running ?
Enlist the differences between database and data warehouse.
Explain the different lookup methods used in informatica?
What are the new features of informatica 9.x at the developer level?
What is the status code in stored procedure transformation?
Explain the aggregator transformation?
Explain sql transformation in script mode examples in informatica
What is the command used to run a batch?
What is a transaction control transformation?
Explain the scenario which compels informatica server to reject files?
What is the function of aggregator transformation?
what are factless facts? And in which scenario will you use such kinds of fact tables.
What do you mean by enterprise data warehousing?