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 |
Tell me how many tables used in Ur project and how many fact tables and dimension tables used in ur project
source table A having 100000 records. and target B table having 100000 records. now iam updating B records using update query. i don't know which record is update in target. write a sql query get all updated records from target table B.
Input flatfile1 has 5 columns, faltfile2 has 3 columns(no common column) output should contain merged data(8 columns) Please let me know how to achieve ??
star and snowflake schema?
why we use source qualifier transformation?
how can we check whether a particular cache is static or dynamic?
Without using any transformations how u can load the data into target?
How/where can i install Informatica software with oracle or teradata as database
how to join two flat file if they have diff. structure?how to join one relational and one flat file?
followin source like region sales 1 100 2 200 i want the output following format region 1 2 sales 100 200
wt is the difference between truncate and delete in which situation u use delete and truncate in real time..
what is the purpose of surrogate key and diff between primary key&surrogate key