Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is data merging,data cleansing,sampling?

4 Answers  


If we use only lookup transformation in a mapping ie, SourceQualifier-->Lookup --> Target. , here datas are taking very long time to load in target., so what are steps to improve the performance in that mapping???????

2 Answers  


Define informatica repository?

2 Answers   Wipro,


Why update strategy and union transformations are active?

0 Answers  


Name 4 output files that informatica server creates during session running?

1 Answers  


My source is flat file which contain only one column with data type varchar.now i want to send string data types into one target and if any numbers and special characters are there that should be send it into another target.so how do you design a mapping for this?

6 Answers   Accenture,


Roles and Responsibilties of Informatica Production Support Member?

6 Answers  


In a sequential batch can you run the session if previous session fails?

4 Answers  


waht is dataware house

2 Answers  


what are the settiings that u use to cofigure the joiner transformation?

2 Answers  


On lookup on any table we can get only a)any value or b)last value but if i need both duplicate values How can i achieve?

3 Answers  


Explain lookup transformation source types in informatica

0 Answers   Informatica,


Categories