How to do Half of the table ex: if 1000 records are there means 500 in one table and 500 in second table like this if N number of tables means how to do Half of the table ??????????

Answers were Sorted based on User's Feedback



How to do Half of the table ex: if 1000 records are there means 500 in one table and 500 in second t..

Answer / narender.vankuri

Hi am Narender Reddy take an example:Dept table

Source->source Qualifier->After this we take one Aggregator and one Expression -> and both of this connected to Joiner -> this connect to Router->Here we take one Sequence generator and connect to Router-> this router connect to Targets

Here we see conditions:
1) In Aggregator create Cnt Port and(No input ,only output) There expression Condition(COUNT(DeptNo)
In this create One extra port Decimal express:1(no input,only output)
Disable Groupby
2) In Expression create one extra port decimal expression:1
this 2 transformations(Aggregator,Expression) are connected to Joiner
3)In Joiner Enable SorterInput,Condition And connect to Router Input.
4)Take one Sequence Generator and connect to Router Nextval
5)In Router Group1:Nextval<=(Cnt/2)
6)In Router Group2:Nextval>(Cnt/2)
7)Now connected to Traget1,Target2.

ThankYou
V.Narender Reddy

Is This Answer Correct ?    8 Yes 0 No

How to do Half of the table ex: if 1000 records are there means 500 in one table and 500 in second t..

Answer / vijaya

above answer only for the first time data loading only for new
record inserts to source it gives false results

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More Informatica Interview Questions

What are 2 modes of data movement in Informatica Server?

1 Answers   Informatica,


Informatica and datawarehousing courses in Pune?

2 Answers  


Debugger what are the modules, what are the options you can specify when using debugger, can you change the expression condition dynamically when the debugger is running.

0 Answers  


What are multi-group transformations?

0 Answers   Informatica,


What is joiner change?

0 Answers  






If we use sorted ports in aggregator transformation and somehow records are not in order by format so what will happen,session fails or it succeeded with incorrect data?

1 Answers   Amdocs,


Transformer is a __________ stage option1:Passive 2.Active 3.Dynamic 4.Static

2 Answers   Accenture,


How do you load first and last records into target table?

0 Answers  


what is the monster dimension plz give me one example

2 Answers   EDS,


Can yoU use the maping parameters or variables created in one maping into another maping?

2 Answers  


Suppose we configure sorter transformations in the master and detail pipelines with the following sorted ports in order: item_no, item_name, price. When we configure the join condition, what are the guidelines we need to follow to maintain the sort order?

0 Answers  


What is a connected transformation?

0 Answers   Informatica,


Categories