I have the source like
col1 col2
a l
b p
a m
a n
b q
x y
How to get the target data like below
col1 col2
a l,m,n
b p,q
x y

Answer Posted / hanan

src->exp->agg->tgt

src:-

In sql query write order by col1

exp:-

col1->
col2->
var_col2=iif(col1=var_col1,var_col2||','||col2)
var_col1=col1
output_port=var_col2

agg;-

select group by col1

tgt:-

connect to target

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Have you worked with/created Parameter file

1224


Differences between connected and unconnected lookup?

601


Explain what transformation and how many are there in informatica?

479


How an expression transformation differs from aggregator transformation?

620


What do you mean by channel change?

533






In informatics server which files are created during the session rums?

628


How to improve the performance of a session using sorter transformation?

682


Mention few power centre client applications with their basic purpose?

528


What is rank transform?

595


explain about unit testing? in real time?

1651


Please tell me which institute is the best to study Informatica and asp.net in chennai Also please send me the latest interview questions in asp.net,c# and sql server to my id ramtryin@gmail.com

1584


How to load last n records of file into target table - informatica

593


what are the deliverables?in your project?

1648


What is enterprise data warehousing?

607


Partition, what happens if the specified key range is shorter and longer

2027