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

Answer Posted / babu

Hi,
If your source is RDBMS,u can writ sql override in
sourequalifier.


select p.*,pc.cno from product p,(select price,count(price)
cno from product group by price) pc where pc.price=p.price;

In RTR group1 cno=1
group2 cno>1

OR
If source is flatfile

SRC-->SQ-->AGG(GROUP BY PRICE,CNO=COUNT(PRICE))
|
SRC-->SQ-->JNR--RTR (GRP1 CNO=1 )-->TRG1
(GRP2 CNO>1 )-->TRG2

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any one give some examples for pre sql and post sql(Except dropping and creating index).

4114


State the differences between sql override and lookup override?

1215


Why update strategy and union transformations are active?

1051


How many input parameters can exist in an unconnected lookup?

1550


How can you differentiate between powercenter and power map?

1094


TELL ME ONE COMPLEX MAPPING IN UR PROJECT? chandumba2005@gmai.com

1868


How to generate sequence numbers?

1095


differences between service based and product based?

2020


Reusable transformation and shortcut differences

1844


What are the restrictions of union transformation?

1044


How do you manage the Parameter files while migrating your data from one environment to another environment?

1033


While migrating the data from one environment to another environment how would you manage the connections?

1091


I am not able to connect to the domain with the client although all services and databases are up and there is no network issue?

1072


What is the cumulative sum and moving sum?

1186


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

1146