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

Which tool yoU use to create and manage sessions and batches and to monitor and stop the informaticaserver?

4 Answers  


can we load the data with out a primary key of a table? what is target plan?

6 Answers   IBM,


Can we run session without using workflows?

5 Answers   TCS,


How we can get unique records into one target table and duplicate records into another target table??

11 Answers   Deloitte, IBM, iGate,


what is target load plan

2 Answers   Cap Gemini,






how you will maintain version?

3 Answers   CTS, TCS,


On a day i load 10 rows in my target and on nextday i get 10 more rows to add in target. But out of 10 - 5 records are send them to target?how i can insert the remaining records

1 Answers  


Describe the impact of several join conditions and join order in a joiner transformation?

0 Answers  


What will happen if we have a filter transformation used in a mapping and in the filter condition we specify 1. Yes nothing else, only the number 1. In other words, assuming we have 10 rows coming to this filter transformation as an input, how many rows will be output by this transformation when we have only 1 in the filter condition?

5 Answers   TCS,


What are the different options available for update strategy?

0 Answers  


What are the new features of Power Center 5.0?

0 Answers  


hi all, Can anyone please tell me the relationship between informatica and business objects

1 Answers  


Categories