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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a node in Informatica?

627


Define enterprise data warehousing?

636


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

649


Explain pmcmd command usage in informatica

708


Explain the mapping variable usage example in informatica

635






What are Dimensional table?

619


What the difference is between a database, a data warehouse and a data mart?

597


tell me about your project functionality

1868


where to store informatica rejected data?

680


i have a data in my source as a flat files what test i have to perform the next step can any body help to me

1700


What is a transaction control transformation?

768


What are multi-group transformations?

566


Explain the aggregator transformation?

630


How to implement security measures using repository manager?

606


How can we use batches?

606