my sourse is like id name sal--1 aa 1000 ,2 bb 2000, 3 cc 3000
4 dd 4000, 5 ee 6000 , 6 ff 7000 and so on but myrequirement
is like this id name sal up_sal,1 aa 1000 null,2 bb 2000
1000, 3 cc 3000 2000
4 dd 4000 3000, 5 ee 5000 4000 , 6 ff 6000 50000 and so on
so how can i get it plez reply for this as soon as possible
, thanks in advanced
Answer Posted / ankit kansal
Hi,
If you are not sure about the id's sorting order
count = count+1
v_sal = IIF(count=1,null,v_prev_sal)
v_prev_sal = sal
out_sal = v_sal
http://deepinopensource.blogspot.com/
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
generate date / time dimension in informatica
What is the difference between Active and Passive transformation?
What is the use of code page?
What are the types of schemas we have in data warehouse.
wat are deployement groups in informatica, how it will be used for developers
How we can use union transformation?
TELL ME ONE COMPLEX MAPPING IN UR PROJECT? chandumba2005@gmai.com
what kind of issue you will get in environment? (we ll call help desk to raise ticket rite?
What is rank transformation?
What is the advantage of informatica?
While migrating the data from one environment to another environment how would you manage the connections?
What is update strategy transform?
What is an Integration service in Informatica?
What are the different types of repositories created using informatica?
Explain target update override in informatica