Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 06 Jun 2005 @ 09:46:59 GMT


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


Subj:   Using Add_Months with column defined as 'YYYYMM' (Char(6))
 
From:   Sean Scannell

I need to delete data over 36 months old, determined by a column defined as Char(6)'YYYYMM' . I've tried various ways without success but does anybody know if it is possible to cast the char(6) as date and use Add_Months to identify rows to delete ?



     
  <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