Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 17 Aug 2005 @ 16:40:39 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Deleting Duplicate rows
 
From:   Anomy Anom

<-- Anonymously Posted: Wednesday, August 17, 2005 12:42 -->

If all columns are identical and you wanted to keep just only one of the unique rows.. I first assume that you must be having the data already either in a flat file or in a "multiset" teradata table .... Whatever..

Step1: bring it to a flat file

Step2: "sort" it and "uniq" it if you wanted to keep it in a "multiset" table.... (I don't know why you'd want to do it though)

If you wanted to keep it in a SET table then no SORT/UNIQ necessary

Step3: Just Fastload it straight into an empty (SET or MULTISET) teradata table


hope that helps.....



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023