How can i generate Seqence Numbers to Tagret Table
(with out using Seqence Gen Trans,Rank Trans).
Answers were Sorted based on User's Feedback
Answer / krishna
Use database Sequence generator call this from stored
procedure or dummy lookup query
or
You can also use expression transformation. Create two
ports one is variable and assign it to 0 and another one is
output port ind Write the logic to increment it
(o_seq=v_Seq+1)
Is This Answer Correct ? | 9 Yes | 1 No |
Answer / vijay
You can also use expression transformation. Write the logic
i = 0 and increment it in another column. Give this column
as output.
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / manikandan
I think your Express increment is not clear because when the second record will comes again it that variable is initialize to zero.
So we do to capture into Variable by SetVariable()
Or
The Use target lookup and return the column(SNo) which you what to populate the seq number.
Check in Express(before Target), If(isNull(SNo), 1, SNo+1). Connect this to SNo in Target
Is This Answer Correct ? | 3 Yes | 0 No |
how the informatica server sorts the strings values in rank transformations?
how many repositories can v create in informatica .
3 Answers Cap Gemini, Tech Mahindra,
can we send mail when ever it get success or faulure to other mailid?(Not company mail id)
Explain sessions and how many types of sessions are there?
Why do we need informatica?
my session have to run Monday to Saturday not run sunday how to sedule in informatica level?
1 Answers Infinite Computer Solutions,
what are the different types of transformation available in informatica. And what are the mostly used ones among them?
What could be the possible resons of locks by user?
How do you remove duplicate records in informatica?
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.
Can we write to_date(three arguments) ? Will it work ? Advance thanks
Issue with Update override at Target table in Informatica.