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

i have a source with 100 records.i have 2 targets.in the first target i want to load first 50 records & in the second target i want to load next 50(or remaining) records.

3 Answers  


Using Informatica Visio to generate mappings. I am getting error "Table Definition Not Found Exception Error" while importing the template.

1 Answers  


What are different types of transformations available in informatica?

0 Answers  


Can one use mapping parameter or variables created in one mapping into any other reusable transformation?

0 Answers  


Which files are created during the session rums by informatics server?

0 Answers  






Make a note of the quantity vaults made in informatica?

0 Answers  


What is a router transformation?

0 Answers  


On a day, I load 10 rows in my target and on next day if I get 10 more rows to be added to my target out of which 5 are updated rows how can I send them to target? How can I insert and update the record?

6 Answers  


i had a source containing business,sales,details column and i have to load it to a target but i have some bad records in it , but i have to load 70% of business records and 50% of sales and 95% of details records excluding bad records to achieve this what should be done and what all logic and tx should be used can anyone help? thanks in advance

0 Answers   CTS,


How do we implement materialized view?when to use materialized view?

1 Answers   TCS,


Hi, I want to change date type char value integer value? I tried alter table tab_name modify (newcolumn newdatetype). But The columns have 10 million values(char type) so I want to load now numeric data. How it is possible? Old Values New Value(I want to load numeric data but the old value should be there in the column) Y 1 N 0 ERROR at line 1: ORA-01439: column to be modified must be empty to change datatype Please help on this. Thanks, GM

1 Answers   IBM,


What are the data movement modes in informatica?

0 Answers   Informatica,


Categories