I have a scenario like - how can i load 1st record to
Trgt1,2nd->Trgt2, 3rd->Trgt3 and again the cycle has to
repeat with loading 4th->Trgt1,5th->Trgt2,6th->Trgt3?
Answers were Sorted based on User's Feedback
Answer / susanta
Take a sequence generator with Start Value=1,Current
Value=1,End Value=3, Increment By=1 to assign a seqno to
each row. Do not forget to enable the cycle option.
after that take a Router with three groups of
seqno=1,seqno=2 and seqno=3.
Hope this will help u
Is This Answer Correct ? | 28 Yes | 1 No |
Answer / ks316
Hi all,
I am posting my first post. Excuse me for any
mistakes, In the above answer given i dont think that the
target gets loaded in proper order. According to your
answer all the records gets loaded into all targets.
I think there should be a condition to every group in the
router.
i think the conditio should be like
mod(nextval,3)=0 tgt1
mod(nextval,3)=1 tgt2
mod(nextval,3)=2 tgt3,
pls correct me if i am wrong
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / avatar dss42b88
for this we use sequence generator t/r,
ex take source emp
targets -emp1,emp2,emp3.
mapping structure
sq->(seq)->exp->rtr->emp1(condition rowid=1)
->emp2(condition rowid=2)
->emp3(condition rowid=3)
in exp t/r add new port and rename it as rowid and connect
to rtr.
note connect next val to rowid(in exp t/r).
in seq t/r change properties like
start value=1
increment by=1
last value=3
currval=1
cycle check it save it.
execute mapping.
Is This Answer Correct ? | 3 Yes | 3 No |
My sql query is 1. select 1+x from dual? 2. select 1+'x' from Dual? 3. Select x+1 from dual? what is the out put of the above queries?
what is pre and post sql and what is diff between source presql and target pre sql
Is it possible to use a client with different version than that of its Informatica server?
what is junk dimension
What is the use of source qualifier?
Describe the scenarios where we go for joiner transformation instead of source qualifier transformation?
Hi, In Router transformation I created two groups . One is Passthrough=> True Second one is CorrectId’s => Invest>50000 Here I have one doubt. Can’t I treat default group as Passthrough group (fist group) . Is there any difference between default group and Passthrough group in this scenario? Let me know if you want more information about this scenario. Advance thanks.
tell me 5 session failure in real time how can you solve that in your project?
Can anyone briefly describe abt audit table loading?
Can you use one mapping to populate two tables in different schemas
how will you remove the duplicate records from flat file without using sorter?
what is metadata?