Home > Software > Data-Warehouse > Informatica
Interview Questions   Tutorials   Discussions   Programs   

Informatica - How can I send half pf the records to one target and remaining to other target?




550
views
asked marvit September 20, 2014 07:59 AM  

How can I send half pf the records to one target and remaining to other target?


           

1 Answers



 
answered By vishnoiprem   0  
Take two flows.. as follows:
 
Source -> SQ -> TGT
Source -> SQ -> TGT
 
Here the same instances of sources and targets are used.
 
In one SQ, SQL Query will be:
/* FIRST HALF*/
Select * From table
Where Rownum<=(select count(*)/2 from table)
 
In other SQ, SQL Query will be
/* SECOND HALF*/
Select * From Table
MINUS
Select * From table
Where Rownum<=(select count(*)/2 from table)
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert