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 are factless facts? And in which scenario will you use such kinds of fact tables.
Briefly describe lookup transformation?
explain about unit testing? in real time?
What are the challenges you have faced in your Project (DWH- ETL)? Explain with example?
Explain what is informatica metadata and where is it stored?
Can some one explain me about Telecommunications(wireless) project in Informatica? Thanks in advance
write a query to retrieve the latest records from the table sorted by version(scd)
Do you find any difficulty while working with flat files as source and target?
How might one distinguish in the case of mapping is right or not without associating session?
How do you handle two sessions in Informatica
What are the guidelines to be followed while using union transformation?
I am not able to connect to the domain with the client although all services and databases are up and there is no network issue?
How to create the source and target database connections in server manager?
How to load last n records of file into target table - informatica
Explain why we use partitioning the session in informatica?