Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 18 Feb 2005 @ 11:05:32 GMT


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


Subj:   Re: Deleting the partial rows
 
From:   Kumar_Hare

There must be some way to identify which rows to be deleted, if not then:

1. you can use the 'Row Number' function to generate the numbers & check manually which rows to be deleted, use that condition in you delete query.

2. you can create a new table using the 'Identity column' and generate the ids.

3. you can use 'Rank function' if looking for duplicates & can delete the rows which qualify for more than 1


These are just some thoughts , you can see which one fits in your situation.

Just a suggesstion, Go for MLOAD delete instead of normal SQL delete, benefits you must be knowing if not consult manual.



     
  <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: 23 Jun 2019