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

how to through logic of informatica using the push down optimization into oracle.

2 Answers   Hexaware,


How will restrict values in 0-9 and A-Z and a-z and special character.Only allowed these chars otherwise we will reject the records? what is the function we used to restrict...

1 Answers   Cap Gemini,


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  


Which is the t/r that builts only single cache memory?

0 Answers  


what is rank and dense rank in informatica with any examples and give sql query for this both ranks

4 Answers  


What is Test load plan? Let us assume 10 records in source, how many rows will be loaded into target?

3 Answers   Logica CMG,


What are the methods for creating reusable transforamtions?

2 Answers  


Plz can anybody send Informatica and Cognos FAQ Plz To thid ID ppradeep_dwh@yahoo.co.in

1 Answers  


Informatica Server and Client are in different machines. You run a session from the server manager by specifying the source and target databases. It displays an error. You are confident that everything is correct. Then why it is displaying the error?

0 Answers  


i have 2 mapings for this 2 mapings i want use only one lookupt/r how?

3 Answers   Wipro,


What do you mean by channel change?

0 Answers  


Can we use the mapping parameters or variables created in one mapping into any other reusable transformation?

0 Answers   Informatica,


Categories