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
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 |
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 |
List the transformation in informatica.
What are the designer tools for creating tranformations?
What r the type of indexes u generally used in informatica?
Explain what are the different types of transformation available in informatica. And what are the mostly used ones among them?
Explain the types of lookup transformation?
What are 2 modes of data movement in Informatica Server?
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...
what is mapping parameter?
When we are using Dynamic Cache,which options we will select in session level?
what is meant by data driven.. in which scenario we use that..?
How you load distinct records into one target and duplicate records into another target?
Some flat files are there, out of these having some duplicate. How do you eliminate duplicate files while loading into targets?