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
What is meant by a domain?
Write the unconnected lookup syntax and how to return more than one column.
How might you approve all mappings in the archive all the while?
Differentiate between a database and data warehouse?
What is lookup change?
In development project what is the process to follow for an etl developer from day1
What are the different versions of informatica?
What is meant by lookup transformation?
How to create or implement slowly changing dimension (SCD) Type 2 Effective Date mapping in informatica/Flagging mapping in informatica/visioning mapping in informatica?
What are the components of workflow manager?
How to do unit testing in informatica? How to load data in informatica ?
How can we delete duplicate rows from flat files?
Name the different lookup cache(s)?
pmscmd startworkflow -sv
What will be the approach?