GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  Informatica
Go To First  |  Previous Question  |  Next Question 
 Informatica  |  Question 267 of 301    Print  
Informatica source and targets with same fields
We have one source and 3 targets with same fields i.e empno,ename in all 3 targets and source, then the 1st row in source should go to 1st target, 2nd row in source should go to 2nd target and the 3rd row in source should go to 3rd target, 4th row again to 1st target , 5th row to target2 6th row to target 3 like this we need to transfer data how is it possible?


  
Total Answers and Comments: 3 Last Update: January 14, 2008     Asked by: mailtos.ravi 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 25, 2007 20:22:10   #1  
komalahanumantharao Member Since: November 2007   Contribution: 12    

RE: Informatica source and targets with same fields
then it is  better for u to use the router transformation and depeneding upon the condition the router transforms the required input fromthe source tothe target
 
Is this answer useful? Yes | No
January 03, 2008 05:02:20   #2  
sekhar.ganta Member Since: December 2007   Contribution: 5    

RE: Informatica source and targets with same fields
here we should use router transformation with 3 groups. suppose 3 targets are
target1: condition multiples of 3
           select * from emp where (empno,0) in (select empno,mod(rownum,3) from emp
target2: condition rows which are leaves remainder 1 when divide by 3
           select * from emp where (empno,1) in (select empno,mod(rownum,3) from emp
target3: condition for rows which are leaves remainder 2 when divide by 3
           select * from emp where (empno,2) in (select empno,mod(rownum,3) from emp

  

 
Is this answer useful? Yes | No
January 14, 2008 04:21:02   #3  
sandeep.vaishy Member Since: January 2008   Contribution: 1    

RE: Informatica source and targets with same fields
First Load Data from source To One dummy table in target with SEQ Gen T/R.
in SEQ Gen T/R Set min value 1 and max value 3 and check the reset option.
It will load the data with new column Values 1,2,3,1,2,3...........
Then use that dummy table as a source And use a router T/R in This mapping pipeline.
put Condition In router T/R, with three groups and load data in three different Trgets.
I think this should work. 

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape