Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How you prepared reports for OLAP?

1654


What is the Rank index port in Rank transformation?

1102


How many ways are there to do 'remove duplicate records in informatica'?

1061


permutations of mapplet

2546


What is rank index in rank transformation?

1126


How can we remove the duplicates from flat file source?

1073


How to handle decimal places while importing a flatfile into informatica?

1238


What are the challenges you have faced in your Project (DWH- ETL)? Explain with example?

8261


Is stop and abort are same in informatica?

1041


What is target load order?

1297


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

1924


Can some one explain me about Telecommunications(wireless) project in Informatica? Thanks in advance

2018


tell me 5 session failure in real time how can you solve that in your project?

2387


What is the need of etl tools?

1177


my source is junk data how will u remove that junk data by using unix please any one replay me

3751