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 (756)
 Cognos interview questions  Cognos Interview Questions (851)
 Informatica interview questions  Informatica Interview Questions (1624)
 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 (172)
 Data Stage interview questions  Data Stage Interview Questions (564)
 SAS interview questions  SAS Interview Questions (556)
 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 (216)
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
 
write a query to follwoing table amount year quarter 254556 2003 first 546332 2003 second 129034 2003 third 490223 2003 fourth 165768 2004 first 265443 2004 second 510412 2004 third 435690 2004 fourth i want the output year q1_amount q2_amount q3_amount q4_amount 2003 254556 546332 129034 490223 2004 165768 265443 510412 435690 TCS 2
what is worklet and what use of worklet and in which situation we can use it? Patni 2
i want to convert below src into target src is as follows maths 30 science 20 social 81 i want data in trg like below maths science social 30 20 81 HP 2
how to import multiple flat files in to single target where there is no common column in the flat files TCS 2
how the data will be loaded while desiging the schema?which one first (for e.g.-dimesions and facts) Sonata 2
When we enable pushdown optimization technique, two options will be enabled (use view,..). Can anyone tell me how these two options will work ? When do we need to go for pushdown optimization technique ? IBM 3
what is the architecture of any Data warehousing project? IBM 4
If u r giving different parameter file names in workflow and session for a single mapping parameter, then which one will be executed? The one u given in workflow or the one u given in the session? Hexaware 1
I am having a table with columns ID NAME 1 x and the requirement is to get the o/p like this 1 y ID Count(*) 1 z 1 3 2 a 2 2 2 b 3 c so write a sql query to get the id n how many times its count of repetition n there u shouldn't get the distinct(i.e id-3) Reply as early as possible IBM 3
What are the options in the target session of update strategy transsformatioin?   2
Can you use one mapping to populate two tables in different schemas   2
How to display null values on a target & non-null values on a target?   3
 
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