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...

How to send duplicates to one target and unique rows to one
target?target is empty

Answer Posted / mohan

Here is the minor modification on Answer #6 posted by me,
SQ-->Sorter-->Expression-->Router-->Targets

Sorter Transformation: Sort by key column(EMP_ID)
Expression Transformation:
V_Match(variable port) =IIF(EMPNO=V_OLD_EMPNO,1,0)
V_OLD_EMPNO(Variable)= EMP_ID
O_EMPNO(output)= V_MATCH

Router Transformation:
create two groups under groups tab,
Original : O_EMPNO=0
Duplicates: o_EMPNO=1 

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data transformation manager process?

1149


Did u used latest transformations of 8.6.0? for what?

1877


Target increases every day even though no new record was inserted

1569


Sequence generator, when you move from develoment to production how will you reset

2028


Clarify the aggregator change?

1020


Define the various join types of joiner transformation?

986


When do you use sql override in a lookup transformation?

1088


In warehouses how many schemas are there?

1068


How many input parameters can exist in an unconnected lookup?

1540


Define joiner transformation?

1045


what is mean by complex business rule ?

2154


How can we store previous session logs?

1064


Can u generate reports in Informatica?

1075


Is it possible to create multiple domains on a single Informatica server?

1234


Differentiate between a repository server and a powerhouse?

1115