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

Answers were Sorted based on User's Feedback



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

Answer / shyam

from source qualifier trf take a exp trf with a sequence gen
and from there give it to filer trf. write there a condition
next value<=4 and give it to update stategy trk. and there
give condion as dd_insert and then to targer,this all comes
in first pipeline.

in second pipeline drag the ports from exp trf and again
take a filter trf,over there give condion as next_val>4 and
next_val<9. give this to update trf and then to targer.

try this .i hope u vl get the o/p.
if im wrong plz let me know

shaym

Is This Answer Correct ?    12 Yes 0 No

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

Answer / 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

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

Answer / vali

i can explain it more clear that we have to place a rank
t/r before router and create two groups in router and given
it to update strategy....

src->sq->rank->router->ups->trg

Is This Answer Correct ?    2 Yes 1 No

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

Answer / srini

generate sequence number and use mod function in router t/r.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / adisekhar

->->UPS->TAR
MAPPING DIAGRAM LIKE SRC->SQL->RTR->
->UPS->TAR

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Informatica Interview Questions

What is the difference between normal and bulk loading? Which one is recommended?

1 Answers  


case and like function in informtica (my source is XML). case when OS Like'%Windows%' and OS Like '%200%' then 'Windows 200' case when OS Like'%Windows%' and OS Like '%200%'and OS like '%64%' then 'windows 200 64 bit' etc.,,

1 Answers  


Describe the scenarios where we go for joiner transformation instead of source qualifier transformation?

0 Answers  


Explain constraint based loading in informatica

0 Answers   Informatica,


Clarify the utilization of aggregator cache record?

0 Answers  






Which is the best place to learn Informatica Powercenter Online Training?

1 Answers  


Q. We are the loading the table on daily basis it is incremental loading. and A person rahul slary was 10000, so if i check before run my salalr is 10000. but toay there is update that my sal is 15k but that will come to know after the load. braod crtiteria is we donot want to show downstream teams partial updated data. need aproad as etl developer

0 Answers  


Diff B/W MAP Parameter, SESSION Paramater, DataBase connection session parameters.? Its possible to Create 3parameters at a time? If Possible which one will fire FIRST?

6 Answers   Accenture, HCL,


wf dont have integration severances how you can run?

0 Answers   TCS,


What is the Difference between SetVariable and setmaxvariable in informatica?

1 Answers  


Explain the shared cache and re-cache?

0 Answers  


performance wise which one is better in joiner and lookup transformation

2 Answers  


Categories