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
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 |
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 |
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 |
I cleared Informatica certification Designer. if anybody need dumps, can contact at mukesh1009@gmail.com
119 Answers Accenture, Gcs, TCS,
Plz can anybody send Informatica and Cognos FAQ Plz To thid ID ppradeep_dwh@yahoo.co.in
Differentiate between Load Manager and DTM?
what is incremental aggregation ,with example?
8.what is mapplet ?give example?
Explain where to store informatica rejected data? How to extract the informatica rejected data?
Source is a flat file and want to load unique and duplicate records separately into two separate targets; right??
What happens if you increase commit intervals and also decrease commitExplain grouped cross tab?
From where you extract the data, how you did it into informatica? explain....
1 Answers Accenture, Unisoft Infotech,
How to identify this row for insert and this row for update in dynamic lookup cache
Scenario:- Below is the requirement. Source:- NAME ID Requirement RAVI 1 (no need to repeat as it ID is 1) KUMAR 3 (repeat 3 times as it ID is 3) John 4 (repeat 4 times as it ID is 4) Required Out Put:- Name ID RAVI 1 KUMAR 3 KUMAR 3 KUMAR 3 John 4 John 4 John 4 John 4 Scenario 2:- Source Data ID NAME 1,2 NETEZZA,ORACLE 3,4,5 SQL Server, DB2, Teradata Required Output:- ID NAME 1 NETEZZA 1 ORACLE 3 SQL Server 3 DB2 3 Teradata
What are differences between Informatica 7.1 and 6.1