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

what is the mechanism of the Master-Detail joining condition?

6 Answers   IBM, Patni,


How you can differentiate between connected lookup and unconnected lookup?

0 Answers  


What is event and what are the tasks related to it?

0 Answers  


What is the Difference between PowerPlay transformer and power play reports?

1 Answers  


What are the new features in Informatica 5.0?

1 Answers  






How to compare Source and Target table, without using dynamic lookup?

4 Answers  


Can we run session without using workflows?

5 Answers   TCS,


What is transformation?

0 Answers  


scenario: dept_no emp_nem 10 A, 10 B, 10 C, 10 D, 20 P, 20 Q, 20 R, 20 S output: dept_no emp_nem 10 A, 10 AB, 10 ABC, 10 ABCD, 20 ABCDP, 20 ABCDPQ, 20 ABCDPQR, 20 ABCDPQRS

1 Answers  


You have defined the following: - Commit Type = 'Target' - Commit Interval = 10000 - writer buffer block can hold multiple 7,500 rows - you are loading 40,000 records into the target After how many records will the Informatica Server issue commit commands? a)7500, 15000, 22500, 30000, 40000 b)15000, 22500, 30000, 37500, 40000 c)15000, 22500, 30000, 40000 d)15000, 30000, 40000

7 Answers   Deloitte,


need for registering a repository server

1 Answers  


Hi Everybody, I have one fixed width file as source and 4 oracle tables (relational) as target. What are the Unit test cases i need to implement ? 1.Using TextPad software i tested postion of the field 2.As per specification i tested like whether it is correctly mapped or not? Is there any other test case do i need to implement. If possible can any one give me the test cases Advance Thanks

0 Answers   Cognizant, IBM,


Categories