How will you update the first four rows and insert next
four rows in a mapping?

Answer Posted / tejal

We can use an expression transform after the source quailifier - define a variable / counter port and increment it for each run.
Output this counter value and pass it to a router , which has 2 groups based on this value counter <=4 then insert else update.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can one use mapping parameter or variables created in one mapping into any other reusable transformation?

700


Which transformation is needed while using the Cobol sources as source definitions?

817


Why filter transformation is an active one?

670


How to load data in informatica ?

665


Explain sessions?

681






How do you set a varible in incremental aggregation

1537


what is mean by complex business rule ?

1800


my source is junk data how will u remove that junk data by using unix please any one replay me

3356


How do you load more than 1 max sal in each department through informatica or write sql query in oracle?

1162


Explain where to store informatica rejected data? How to extract the informatica rejected data?

693


I am not able to connect to the domain with the client although all services and databases are up and there is no network issue?

691


What are the different components of powercenter?

679


What is dimensional table?

707


Define mapplet?

708


Tell me any other tools for scheduling purpose other than workflow manager pmcmd?

879