Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 21 May 2004 @ 20:01:49 GMT


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


Subj:   Re: How can I advance a date value?
 
From:   Anomy Anom

<-- Anonymously Posted: Friday, May 21, 2004 15:55 -->

Try increasing the expiration date by 10 years using -

     case
        when EXPIRATION_DATE < CURRENT_DATE
              then EXPIRATION_DATE + 3650
        else EXPIRATION_DATE
        end as NEW_DATE


     
  <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: 27 Dec 2016