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

Answers were Sorted based on User's Feedback



there is a product table prodid prodname price 100 cinthol 10 101 hamam 10 102..

Answer / arjun

we can take a lkp on source in that we can give cndtion id!=id_in and price=price_in so we can get repeated price in one table

and for the distinct prices we take one aggrtr and in that count on some variable and group by price after that in filter cndtion not isnull(var)= true so that we can distinct values

Is This Answer Correct ?    1 Yes 0 No

there is a product table prodid prodname price 100 cinthol 10 101 hamam 10 102..

Answer / ankit kansal

Use a Rank Transformation and calculate rank on the group by basis on price and then using any router route your data to two different outputs.


http://deepinopensource.blogspot.in/

Is This Answer Correct ?    1 Yes 0 No

there is a product table prodid prodname price 100 cinthol 10 101 hamam 10 102..

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

More Informatica Interview Questions

If you done any modifications for a table in back end does it reflect in informatca warehouse or maping?

2 Answers  


In which circumstances that informatica server creates Reject files?

2 Answers  


What is pmcmd command?

0 Answers  


Can any one explain or sujjest some sites for scd mappings.Thank you

1 Answers   Wipro,


Different circumstance which drives informatica server to expel records?

0 Answers  






CAN WE IMPLEMENT SCD TYPE 1 AND SCD TYPE 2 IN SAME MAPPING? IF SO HOW?

6 Answers  


what is shortcut in informatica? difference between shortcut,reusable object?

2 Answers   Virtusa,


What are the components of workflow manager?

0 Answers  


how will u take the data from clint server and next what u do in datamodeling what u will u do in staging area what u will u do next what u are doing please give the step by step by process

0 Answers   Patni,


I have 1 crore record in my table and I have to load 25 L in 1st target,25L in 2nd target and 25L in 3rd target? I am new to Informatica,can anybody suggest me the idea?

2 Answers  


If session fails after loading 10000 records in the target,how can we load 10001 th record when we run the session in the nexttime?

8 Answers   HeadStrong, TCS,


What is the diff. b/w informatica versions 8.1.1 and 8.6.1?

4 Answers   IBM, Wipro,


Categories