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

How an expression transformation differs from aggregator transformation?

830


in staging we are merging the data and remove the inconsistants data that type of situation what u will done and type of functions u can use

1853


How to extract sap data using informatica?

797


If informatica has its scheduler why using third party scheduler?

1007


How to do unit testing in informatica? How to load data in informatica ?

886


How can you validate all mappings in the repository simultaneously?

1031


Hello , I am unable to work with SQL transformation at least. Where do i need to give connection for sql transformaton ? At session level there is no property . I have created a SQL Transformation and chosen query mode. But do i need to pass connection information to it ? I don't know where do i need to write a query ? I have written a query in file and that file path i gave in the properties of SQL Transformation. But it is not working. Could any one of you please let know how can i work with SQL Transformation? Advance Thanks.

2605


can we override a native sql query within informatica? How do we do it?

848


Define joiner transformation?

807


What is a shortcut and copy in Informatica and how two are different with each other?

932


What does refresh system mean, and what are its distinctive choice?

782


Is there any target staging area in informatica not staging area

2346


Explain lookup transformation is active in informatica

854


What is meant by LDAP users?

873


How can we create index after completion of load process?

810