ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Data Warehouse >> Informatica
 
 


 

 
 Teradata interview questions  Teradata Interview Questions (183)
 Business Objects interview questions  Business Objects Interview Questions (751)
 Cognos interview questions  Cognos Interview Questions (842)
 Informatica interview questions  Informatica Interview Questions (1622)
 Crystal Enterprise Suite interview questions  Crystal Enterprise Suite Interview Questions (29)
 Actuate interview questions  Actuate Interview Questions (35)
 Ab Initio interview questions  Ab Initio Interview Questions (168)
 Data Stage interview questions  Data Stage Interview Questions (563)
 SAS interview questions  SAS Interview Questions (550)
 Micro Strategy interview questions  Micro Strategy Interview Questions (36)
 ETL interview questions  ETL Interview Questions (195)
 Data Warehouse General interview questions  Data Warehouse General Interview Questions (215)
Question
How to delete duplicate record in Informatica?
 Question Submitted By :: Informatica
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
if the source is database means we can delete the duplicate
records by enabling the option select distinct in source
qualifier t/r properties or by writing the following query
in source qualifier filter

delete from emp where rowid not in (select min(rowid) from
emp group by empno);

if the source is flat file means by enabling the option
distinct in sorter t/r we can delete the duplicate records
 
Is This Answer Correct ?    22 Yes 1 No
Suresh
 
Answer
# 2
Select ditinct in properties of source qualifier
transformation.
 
Is This Answer Correct ?    20 Yes 6 No
Mayuri
 
 
 
Answer
# 3
Source and the target will the same table from which the
duplicate needs to be deleted from. Then use a lookup trans
on to this same table and then use an update trans with
DD_DELETE if the row is duplicate else do nothing.
 
Is This Answer Correct ?    11 Yes 2 No
Infa Dev
 
Answer
# 4
Hi
There are 2 ways to do this and both of them are efficient.
Method 1: Sorter -Filter.
Send all the data to a sorter and , sort by all feilds that
u want to remove duplicacy from . note that in the
preoperties tab, select Unique .
This will select and send forward only Unique Data .

Method 2; Use an Aggregator
Use AGG Transformation and group by the keys /feilds that u
want to remove duplicacy from.
 
Is This Answer Correct ?    10 Yes 2 No
Julius Caeser
 
Answer
# 5
Hi,

how to delete duplicate values from table if source and
target are same

my Question is which logic we need to apply before using
DD_DELETE option in update strategy ?

Do we require to use aggregator to group the values and if
there count > 1 then DD_DELETE

PLZ reply
 
Is This Answer Correct ?    0 Yes 1 No
Mayuresh
 
Answer
# 6
create table newtable as select distinct * from original
tablename;
by doing this we can elimate the duplicate rows
 
Is This Answer Correct ?    6 Yes 9 No
Sarvesh
 

 
 
 
Other Informatica Interview Questions
 
  Question Asked @ Answers
 
how to design mapping half of source table records into one target and remaining half into another target ABC 8
performance wise which one is better in joiner and lookup transformation   2
how to get the data from the client machine and how to get server location data to client loction can any one explain bit deep please..! TCS 3
Design a mapping to get year of join for each employee. Accenture 3
As a support project team member, how will you get the questions regarding errors from client or customers (in which format)?   1
how can we calculate fact table size?   1
how to declare array in plsql?   1
following source name gender ramya female ram male deesha female david male kumar male i want the target male female ram ramya david deesha kumar any body give solution above question? TCS 4
What is polling?   1
What is active and passive transformation?   10
What are the different types of Type2 dimension maping?   1
How to get EVEN & ODD numbers separately?   8
 
For more Informatica Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com