how eliminate the duplicates in flat file with out using
sorter ,aggregater
Answers were Sorted based on User's Feedback
Answer / kish
Hi Krishna,
i think you r wrong...he is asking abt flat file...
by using LOOKUP we can eliminate duplicates...
You can eliminate duplicates and can capture that duplicates
using
dynamic lookup cache. look up the target table if New lookup
row=0 then it is unchanged (duplicate
record) SEND TO ONE TARGET
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / srinivas
we can do by using rank transformation also
select rank as 1 top or bottom what ever the ur requirement
and select the group by port for the duplicate column
| Is This Answer Correct ? | 12 Yes | 2 No |
here i m taking the example of employee table
first use the sorter to get the distinct value....
then use the agg trns, create the output port and use the
count function on employee_id to get the total no. of rows
like.. count(employee_id) and group by employee_id.
create filter trns.. write a condition where output>1... map
it with the target...
| Is This Answer Correct ? | 0 Yes | 8 No |
Answer / krishna
The source qualifier Trns has select distinc option from thr we can eliminate duplicates
| Is This Answer Correct ? | 6 Yes | 38 No |
when will we use unconnected & connected lookup? How it will effect on the performance of mapping?
How can u insert o ne row in the target if that row does not exists in the target and update if it exists
if soource is having 10 records how will u insert 20 records to target
can we use union transformation in joiner transformation?how?
1 Answers Dabur, Tech Mahindra,
what is the difference between copy object import objects using repositery manager which one is best
What is confirmed dimension with scenario
can you use flat file for repository?why?
Why we require dwh in particular projects?
What are parallel querys and query hints?
111111111111ravi11111111kumar11111111111? i want display ravi kumar using sql?
What is domain in terms of informatica?
What is a repository manager?