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 a flat file, in which i have two fields, emp_id,
emp_name. The data is like this,
emp_id,emp_name
101,soha
101,ali
101,khan
102,siva
102,shanker
102,reddy.
how to merge the names so that my output is like this
Emp_id Emp_name
101 Soha ali kahn
102 siva shenkar reddy

please provide solution

Answer Posted / dharmendra

SOURCE->SRT->EXP->AGT->TGT

SRT - Sort by column col1.
EXP - empid
name
v_name=iif(v_empid=empid,v_name||','||name,name)
v_empid=empid
o_empid=v_empid
o_name=v_name
After this we can use aggregator t/r to take last row for a
particualr emp id using LAST.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between Target-based loading and constraint-based loading?

947


What is informatica worklet?

991


What is Data Caches size?

1034


what is informatica metadata?

977


how can we find the bottle neck in SQL Query in SOURCE QUALIFIER, and how can we tune it..?

6915


What are the various test procedures used to check whether the data is loaded in the backend, performance of the mapping, and quality of the data loaded in informatica?

1008


What is xml source qualifier transformation in informatica?

1177


How to generate sequence numbers using expression transformation?

1029


what is song in infrmatica...?

2163


Write the unconnected lookup syntax?

1033


Some flat files are there, out of these having some duplicate. How do you eliminate duplicate files while loading into targets?

1733


suppose in my source flatfile i have 10000 records in that some of master table records missed table records missed then what will u do

2081


What is workflow? What are the components of the workflow manager?

1070


What is a router transformation?

1050


What is meant by active and passive transformation?

1032