I have table with ID,PRD_DT,PRD_FLAG,CUST_DT,CUST_FLAG
I need to get max date and its corresponding flag for both the date columns.

Ex:-
1A,10/3/2015,AC,10/3/2015,XY
1A,10/4/2015,AB,10/2/2015,XZ

Output needed
1A,10/4/2015,10/3/2015,XY

I have 100 million + in the table so avoid self-join...

Answers were Sorted based on User's Feedback



I have table with ID,PRD_DT,PRD_FLAG,CUST_DT,CUST_FLAG I need to get max date and its corresponding..

Answer / kiran

Use aggregator transformation and check group by for ID Column and use max function for both the dates.

Is This Answer Correct ?    3 Yes 0 No

I have table with ID,PRD_DT,PRD_FLAG,CUST_DT,CUST_FLAG I need to get max date and its corresponding..

Answer / krish

can be implemented in Information using variable ports. think of current value and previous value


https://etltechsolutions.wordpress.com/2015/11/04/oracle-scenario/

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Informatica Interview Questions

on a day i load 10 rows in my target and on nextday i get 10 more rows add to my target but out of 5 are update row how ican send them to target?how i can insert and update the records

4 Answers   Fidelity,


Which transformation can be created only as reusable transformation but not as non-reusable transformation?

1 Answers   Informatica,


Explain direct and indirect flat file loading (source file type) - informatica

0 Answers   Informatica,


I have the source like col1 col2 a l b p a m a n b q x y How to get the target data like below col1 col2 a l,m,n b p,q x y

2 Answers   DELL,


what are the row and column separations in Flat Files

3 Answers   CTS,






Is it possible to have "5 source & 5 Target" in single mapping?

1 Answers  


How can you validate all mappings in the repository simultaneously?

0 Answers  


task is running successfully but data is not loded why?

2 Answers  


what are the types of Data warehousing ?

1 Answers  


What are some examples of informatica etl programs?

0 Answers  


i have a wf i want to run this very day 3 time every 3 hours how can you scheduled that?

1 Answers   Mind Tree,


I am Unable to load the FixedWith FlatFile Into The Target.What Is The Reason. PLZ Help Me..

1 Answers  


Categories