GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  DataStage
Go To First  |  Previous Question  |  Next Question 
 DataStage  |  Question 22 of 369    Print  
How do you eliminate duplicate rows?

  
Total Answers and Comments: 5 Last Update: May 05, 2008   
  
 Sponsored Links



 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 20, 2005 01:48:40   #1  
satyanarayan das        

RE: How do you eliminate duplicate rows?
delete from from table name where rowid not in(select max/min(rowid)from emp group by column name)
 
Is this answer useful? Yes | No
July 07, 2005 09:19:52   #2  
Pavan        

RE: How do you eliminate duplicate rows?
Data Stage provides us with a stage Remove Duplicates in Enterprise edition. Using that stage we can eliminate the duplicates based on a key column.
 
Is this answer useful? Yes | No
July 15, 2005 08:30:58   #3  
Gokul tendulkar        

RE: How do you eliminate duplicate rows?
The Duplicates can be eliminated by loading thecorresponding data in the Hash file. Specify the columns on which u want to eliminate as the keys of hash. 

 
Is this answer useful? Yes | No
August 15, 2005 20:30:49   #4  
Mujeebur        

RE: How do you eliminate duplicate rows?
removal of duplicates done in two ways: 
1. Use "Duplicate Data Removal" stage  
or 
2. use group by on all the columns used in select , duplicates will go away.

 
Is this answer useful? Yes | No
May 05, 2008 06:55:39   #5  
madhava1238 Member Since: May 2008   Contribution: 8    

RE: How do you eliminate duplicate rows?
sql: delete from tablename a where rowid>(select min(rowid) from tablename b) where a'key values=b.key values.
datastage server:using sort stage(option:allow duplicates(yes/no))
or hash file

parallel: remove duplicate stage

Regards,
Madhava

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links



 
Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape