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


how to get max value record into one target and remaining
records into another target?

Answers were Sorted based on User's Feedback



how to get max value record into one target and remaining records into another target?..

Answer / informatica

use a sorter and do a descending sort. calculate the row_id.
pass it to a router. 1 group condition will be row_id=1.
2nd group row_id >1.1st group to one target instance. 2nd
group to another target instance.

Is This Answer Correct ?    15 Yes 0 No

how to get max value record into one target and remaining records into another target?..

Answer / swarup

sorter(key=requiredkey)
expression
router=1stgrp(o_cnt=1),2nd grp(o_cnt>=1)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Informatica Interview Questions

How to load data in informatica ?

0 Answers  


What is the main purpose of Unconnected lookup other than updating slowly changing dimensions? or In which case u use Unconnected lookup?

2 Answers   TCS,


what type of documents you receiving from client later wt can you do? what type of documents have to prepare?

2 Answers   CGI,


suppose we will take flatfile target and load type is bulkload the session fails why please give me the answer

1 Answers   TCS,


What are the settings that you use to configure the joiner transformation?

0 Answers   Informatica,


How many repositories can we create in Informatica??

9 Answers   IBM, Patni,


What is the difference between Junk and Confirmed Dimention? where can be used htat one in Informatica?

3 Answers  


Hello, I have the below table: CityID CityName CostOfLiving 1 Mumbai 5000 1 Bangalore 4500 1 Chennai 4800 2 Vapi 6000 3 New Delhi 8000 I am passing the rows of the above table through the aggregator transformation in Informatica What happens in the following conditions: 1) I specify no group-by ports? 2) I specify a group-by on CityID without making any separate post for aggregation? Which city and costofliving will this eventually take for CityID=1? 3) Rest being same as point 2,I take the sum of cost of living.Which city will be returned for ID=1? Thanks for your help!

1 Answers  


Briefly define a session task?

0 Answers  


Can we use the mapping parameters or variables created in one mapping into any other reusable transformation?

0 Answers   Informatica,


If I have 10 flat files with same name abc.txt files with different timestamps as source I need to load them in tgt table oracle. in between job execution fails and rows are not loaded into tgt. how can I make them load in that target even if my job fails?

0 Answers  


why do we go for update strategy tr in SCD rather using the session properties?

3 Answers   IBM,


Categories