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

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

Why update strategy and union transformations are active?

992


How to handle decimal places while importing a flatfile into informatica?

1136


How to extract sap data using informatica?

990


Enterprise data warehouse your projects phase by phase explain?

1860


Name at least 5 different types of transformations used in mapping design and state the use of each.?

1094


Tell me can we override a native sql query within informatica? Where do we do it? How do we do it?

1012


what is the -ve test case in your project.

2337


Is it possible to revert a global repository to local one and why?

1029


I have worked on Informatica 7.1.1. I want to know the answer for the below question. Target is not created initially.Then how to take the DDL script from the source and run the Mapping by creating the Target dynamically?Is it possible by SQL Transformation?

1858


Briefly describe lookup transformation?

988


How can we create index after completion of load process?

1074


What is the need for an etl tool?

1015


What is meant by lookup transformation? Explain the types of lookup transformation?

907


What are the different components of powercenter?

991


What is fact table? Explain the different kinds of facts.

1014