there is a product table

prodid prodname price

100 cinthol 10

101 hamam 10

102 neem 20

103 cake 30

in the above table the price of some products are
duplicated and some product prices are distinct we want to
push the duplicated prices to one target and non-duplicated
prices to other target without using expression and
sequence generator transformation

Answer Posted / akash

This requirement can be met by using an aggregator and then
a router.

In the aggregator use grouping on key fields if key
repetition is to be tested. For Ex:
100 cinthol 10
100 dettol 20

If whole record should be duplicated like:
100 cinthol 10
100 cinthol 10

use group by on all fields and take records count for each
group.

In router use condition:
If record count > 1 send records to duplicate target.
Default can be sent to other target.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of sessions are there in informatica.please explain them?

678


What is the use of source qualifier?

670


Differences between connected and unconnected lookup?

610


What is the difference between source qualifier transformations source filter to filter transformation?

580


What are the guidelines to be followed while using union transformation?

639






What is Session and Batches?

664


Explain what transformation and how many are there in informatica?

486


Can I use same Persistent cache(X.Dat) for 2 sessions running parallely? If it is not possible why?If yes How?

1621


What are different types of transformations available in informatica?

586


Which means the first record should come as last record and last record should come as first record and load into the target file?

610


What is the use of an aggregator cache file?

689


What is event and what are the tasks related to it?

616


What is the use of transformation?

576


Where do we use mapping variables in informatica?

613


What is meant by active and passive transformation?

584