Home > Software > Data-Warehouse > Informatica
Interview Questions   Tutorials   Discussions   Programs   

Informatica - How can one eliminate duplicate data with out using distinct option?




444
views
asked marvit September 20, 2014 08:00 AM  

How can one eliminate duplicate data with out using distinct option?


           

1 Answers



 
answered By vishnoiprem   0  
Use the below query in SQ:
 
select * from Table
where rowid in
(select rowid from
  (select rowid,row_number()
  over (partition by Key1,Key2,Key3 order by Key1,Key2,Key3) dup
  from Table)
 where dup > 1);
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert