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

How to configure mapping in informatica?

0 Answers  


Define pmcmd command?

0 Answers  


What is tracing level and what are the types of tracing level?

2 Answers   TCS,


COL1,COL2 ABC,1 XYZ,2 HERE IN COL2 VALUES 1,2 NOT STSANDARD(IE MEANS NOT FIXED VALUES LIKE OTHER SOME VALUES LIKE 10,20) O/P IS COL1,COL2 ABC,2 XYZ,1

0 Answers  


How do you load first and last records into target table? How many ways are there to do it? Explain through mapping flows.

0 Answers  


how to create user defined function (udf) in informatica

0 Answers   Informatica,


Where do we use mapping variables in informatica?

0 Answers  


If the records doesnt satisfy the filter condition where will it go?

10 Answers   IBM,


Hi, I want to change date type char value integer value? I tried alter table tab_name modify (newcolumn newdatetype). But The columns have 10 million values(char type) so I want to load now numeric data. How it is possible? Old Values New Value(I want to load numeric data but the old value should be there in the column) Y 1 N 0 ERROR at line 1: ORA-01439: column to be modified must be empty to change datatype Please help on this. Thanks, GM

1 Answers   IBM,


what is mapping performence?

2 Answers   Cap Gemini,


How will you convert rows into columns or columns into rows

1 Answers  


5. Consider the following products data which contain duplicate rows. A B C C B D B Q1. Design a mapping to load all unique products in one table and the duplicate rows in another table. The first table should contain the following output A D The second target should contain the following output B B B C C

0 Answers  


Categories