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 |
How will you convert rows into columns or columns into rows
i have a flat file and the file s are like below ****%%^^@@@G**@#A@#$N*&^E%^S@#h@@@##$$ IN THIS FORMATE Means un limited special charecter between and sides of the string data..output should be(GANESH) HOW YOU HANDEL THIS TYPE OF RECORDS,,COZ U DON"T KNOW WHERE AND WHAT ARE THE SPECIAL CHARACTERS IN BETWWEN THE NAME...
in unconnected lookup , what are the other transformations , that can be used in place of that expression transformation ?
What is persistent lookup cache?
I have one source table and three target tables. When the session runs for the first time involving the mapping,i want that the loading should take place in 1st Target table only. The 2nd time the same session runs the loading should take place in 2nd Target only only and similarly when the session runs for the 3rd time loading should take place in Third only. And again when the session runs for the 4th time loading should take place in 1st Target table.
What are the unsupported repository objects for a mapplet?
Can we create a Integration service without a Repository service and vice versa?
hOW CAN WE DELETE A RECORD OR TRUNCATE IN TARGET TABLE USING SQL T/R ?
waht type of interface is used for testing the data in informatica
what r the transformations that r not involved in mapplet?
Repository user profiles
Transformer is a __________ stage option1:Passive 2.Active 3.Dynamic 4.Static