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


Hi,
In source I have records like this
No name address
10 manoj mum
10 manoj dilhi
20 kumar usa
20 kumar Tokyo
I want records in target like shown below
No name addr1 addr2
10 manoj mum dilhi
20 kumar usa Tokyo

If it is reverse we can do this by using Normalizer
transformation by setting occurance as 2.
Somebody will say use denoralization technique. But as of my
knowledge I couldn’t find any denormalization technique. Is
there any concept like that?
I tryid this seriously but I could find any idea to
implement this.
Can any one please help me ?
Advance Thanks

Answers were Sorted based on User's Feedback



Hi, In source I have records like this No name address 10 manoj mum 10 manoj dilhi 20 kumar u..

Answer / subhash

SELECT NO, NAME,
MAX(ADDRESS) AS ADDR1,
MIN(ADDRESS) AS ADDR2
FROM TABLE_NAME
GROUP BY (NO,NAME)

Is This Answer Correct ?    2 Yes 0 No

Hi, In source I have records like this No name address 10 manoj mum 10 manoj dilhi 20 kumar u..

Answer / ravi

can we get it by implimenting scd3 please correct me

Is This Answer Correct ?    2 Yes 1 No

Hi, In source I have records like this No name address 10 manoj mum 10 manoj dilhi 20 kumar u..

Answer / honey

I think this is the concept of scd type 3

Is This Answer Correct ?    2 Yes 1 No

Hi, In source I have records like this No name address 10 manoj mum 10 manoj dilhi 20 kumar u..

Answer / satish

Use a dynamic lookup to check if the record exists,
If it is not then
Insert that record in No , Name and Address1
If it is then use that record to update the address 2 field always, this might be a case where the client wants to keep the first record and current record in the address 2 field

Is This Answer Correct ?    1 Yes 0 No

Hi, In source I have records like this No name address 10 manoj mum 10 manoj dilhi 20 kumar u..

Answer / santosh

select no, name, max(decode(ronum,1,address1)) as address1,
max(decode(ronum,2,address1)) as address2 from (select
no,name,address1,row_number() over(partition by no order by
no) as ronum from model16) group by no, name

Is This Answer Correct ?    1 Yes 0 No

Hi, In source I have records like this No name address 10 manoj mum 10 manoj dilhi 20 kumar u..

Answer / jz

select * from table_nme group by NO having count(*) > 1

or

Use Agg t/r group by on port 1

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

After dragging the ports of 3 sources sqlserver,oracle,informix to single source qualiofier can we map these ports directly to target and how?

2 Answers  


what is target load plan

2 Answers   Cap Gemini,


how do u use sequence created in oracle in informatica? Explain with an simple example

6 Answers   CTS,


What is meant by active and passive transformation?

0 Answers  


What will happen if the select list columns in the custom override sql query and the output ports order in sq transformation do not match?

0 Answers  


How do we implement materialized view?when to use materialized view?

1 Answers   TCS,


The structure of source file is as below: Source structure(two fields) Name, Card NUmber A, 111111111(SSN) A, 01010101(Creditcard number) A, 34343434(Debit card number) B, 55555555(Creditcard number) C, 77777777(Debit card number) Target Structure(4 fields) Name,Credit card,SSN,Debit card A,01010101,111111111, 34343434 B,55555555,, C,,,77777777 Corresponding to one name there can be maximum 3 rows and minimum zero rows. Given that I do not know which record might have a particular type of number. How can I handle above requirement with informatica transformations?

1 Answers   Amdocs,


when do we use static cache and when do we use dynamic cache in lookup transformation? with example.

1 Answers  


what are all the deliverables of ETL informatica power center project? what are all updated or created by etl developer as his everyday activities?

0 Answers  


How to load the source table into flat file target(with columns) in informatica?

4 Answers   Accenture,


How to generate sequence numbers without using the sequence generator transformation?

0 Answers   Informatica,


During the running session, output files are created by informatica server. Enlist few of them.

0 Answers  


Categories