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...


If the source has duplicate records as id and name columns,
values: 1 a, 1 b, 1 c, 2 a, 2 b,the target shd be loaded as
1 a+b+c or 1 a||b||c, what transformations shd be used for
this?

Answers were Sorted based on User's Feedback



If the source has duplicate records as id and name columns, values: 1 a, 1 b, 1 c, 2 a, 2 b,the ta..

Answer / rajesh.a

We need to use sorter,Expression and aggregator transformations to do this

1.Sort by ID
2.Take 2 variable ports one for id and one for name and store the values of id and keep on comparing with current id i.e variable is having previous id.
so,if previous id=current id then (variable name)||name otherwise only name.assign the variable name to output port
3.Use aggregator and use last or max(len(name)) to get the result

Is This Answer Correct ?    16 Yes 0 No

If the source has duplicate records as id and name columns, values: 1 a, 1 b, 1 c, 2 a, 2 b,the ta..

Answer / saritha

you can use normalizer or expersion transformation.

Is This Answer Correct ?    2 Yes 5 No

If the source has duplicate records as id and name columns, values: 1 a, 1 b, 1 c, 2 a, 2 b,the ta..

Answer / somnath pain

In source qualifier use this query
select name from table_name group by id
now apply an aggregator transformation to concate the name
according to the group id.

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More Informatica Interview Questions

I've a denormalized table EMP(empno,ename,phone,addr1,addr2,fax,email). Now I want to insert the record into target in the format that, there will be 2 target rows for 1 source record. In target the row needs to be inserted as: ROW1: empno,ename,addr1,phone ROW2: empno,ename,addr2,fax,email And I'm not allowed to normalize transformation. How to achieve?

1 Answers   IBM,


sir presently i am persuing my m.tech recently i got job in tcs as fresher presently iam doing my 9 months project related to informatica can any one guide me how to create fact tables what type of schemas must be used and so on if so give ur mail ids so that i can contct through it

1 Answers  


Explain informatica architecture - version 8 / 9

0 Answers   Informatica,


Why sorter is an active transformation?

0 Answers   Informatica,


CAN WE IMPLEMENT SCD TYPE 1 AND SCD TYPE 2 IN SAME MAPPING? IF SO HOW?

6 Answers  


i have 5 session (s1,s,2,s3,s4,s5)i want to execute first 4 session after 5th session how will you do?

8 Answers   iNautix,


What are the databases that informatica can connect to windows?

0 Answers  


How will u pas the data with out debugger?

4 Answers  


What all join we can perform in LOOKUP transformation?

0 Answers  


How You Pull the records on daily basis into your ETL Server.

2 Answers   TCS,


any one can informatica metirial to me ple forwrd to my mail id; gbalireddy@gmail.com

1 Answers  


.prm wirh repalce .txt is possible?

2 Answers  


Categories