Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.



Design a mapping to get the pervious row salary for the current row. If there is no pervious row exi..

Answer / Mitul Saxena

To achieve this, you can use a Session variable to store the previous row's salary and a Script Transformation to update the session variable during each iteration. In the script, access the current row's salary and assign it to the session variable if there is a pervious row. If not, set the session variable to null. Then, in the next transformation, use the session variable to get the previous row's salary.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

hi all, I have to do Informatica Certification? Can any body send me Some Informatica Certification Dumps/FAQS ? Advance Thanks... Send me----: raghukrams@yahoo.com

0 Answers  


how do u move the code from development to production?

3 Answers  


What is Micro Strategy? Why is it used for?

5 Answers   Infosys,


How can we integrate different flat file data in a single mapping and with in a single execution

1 Answers  


What are the databases that informatica can connect to windows?

1 Answers  


i have 2 flat files one table contains duplicates another one no duplicates.... so i need like this i don't want duplicates...pl's give me ans...

4 Answers   Keane India Ltd,


Can informatica load heterogeneous targets from heterogeneous sources?

1 Answers  


What are set operators in Oracle

3 Answers   Deloitte, Wipro,


how to duplicates from expression transformation without using sorter before that

1 Answers  


write a query following source region sales 1 1000 2 2000 i want the output ?please give solution 1 2 1000 2000

8 Answers   TCS,


Difference between STOP & ABORT in Informatica.

3 Answers   Accenture, Wells Fargo,


What is a candidate key?

7 Answers   CTS,


Categories