How to delete duplicate records if we have huge volume of
records in a table ?
(rowid is not the correct approach)

Answers were Sorted based on User's Feedback



How to delete duplicate records if we have huge volume of records in a table ? (rowid is not the..

Answer / keyrun

Hi, There are many ways to delete the duplicates!

By Using the following Transformations you can delete the Duplicates:

Source Qualifier: Use SQ and check 'Distinct' property (If the Source is Relational)

Sorter: Use sorter and in Properties tab Check 'Distinct'(If the Source is Flat File)

Aggregator: Use Aggregator & Group by on the key port.

Is This Answer Correct ?    7 Yes 0 No

How to delete duplicate records if we have huge volume of records in a table ? (rowid is not the..

Answer / chandu

select * from from <table_name> where rowid not in(select
min(rowid) from <table_name> group by column(primary or
unique key column))

Is This Answer Correct ?    5 Yes 0 No

How to delete duplicate records if we have huge volume of records in a table ? (rowid is not the..

Answer / chandrasekar

First we can count the no of records using aggregator
Transformation with group by (port) for ex, in emp table
take empno. Second we can take the Filter condition like
count=1. Other records are rejected not loaded into the target.

Hope it will help little bit...

Is This Answer Correct ?    1 Yes 1 No

How to delete duplicate records if we have huge volume of records in a table ? (rowid is not the..

Answer / cmanojkumar

Hi,
Thanks for your answer.
I am sorry this question i need to post in oracle forum not
informatica.
Any way your answer is usefull for me.
Could you please tell me how can we delete with our rowid in
oracle ?

Is This Answer Correct ?    0 Yes 0 No

How to delete duplicate records if we have huge volume of records in a table ? (rowid is not the..

Answer / ravikumar2614

DELETE FROM EMP E1 WHERE ROWID<
(SELECT MAX(ROWID) FROM EMP E2 WHERE E1.ROWID=E2.ROWID)

IF I AM WRONG PLEASE CORRECT ME ON ravi.info2614@gmail.com

Is This Answer Correct ?    1 Yes 1 No

How to delete duplicate records if we have huge volume of records in a table ? (rowid is not the..

Answer / dilip ingole

Delete from emp where rowid not in(select min(rowid) from emp group by eid,ename)

in group by column you need mention all column in table

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Informatica Interview Questions

Plz can anybody send Informatica and Cognos FAQ Plz To thid ID ppradeep_dwh@ayhoo.co.in

2 Answers  


can we have to do changes in session property when we are dynamically generating target files?

3 Answers   Wipro,


can we import source table without using source qualifier? if yes then how? if no then why?

2 Answers   Thomson Reuters,


what are the output files that the informatica server creats during running a session?

2 Answers   CTS,


wtite sql query following table are city gender no chennai male 40 chennai female 35 bangalore male 10 bangalore female 25 mumbai female 15 i want the output? city male female chennai 40 35 bangalore 10 25 mumbai null 15

3 Answers   Bank Of America,


What do you understand by term role-playing dimension?

0 Answers  


daily how much amount of data send to production?

4 Answers   HSBC,


How to extract original records at one target & Duplicate records at one target?

12 Answers  


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.

4 Answers   TCS,


What are the components of the workflow manager?

0 Answers  


Comment on significance of oracle 9i in informatica when compared to oracle 8 or 8i?

1 Answers  


what is semi-additive fact?where did u used?

2 Answers  


Categories