Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 21 May 2004 @ 19:58:10 GMT


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


Subj:   Re: How can I advance a date value?
 
From:   Prescott, Kyle R

     case when expiration_date < date then
               add_months(EXPIRATION_DATE,
                      ((extract(year from date)) - (extract(year from
     expiration_date))) * 12)
              else expiration_date  end as new_date

Kyle Prescott
Teradata Certified Professional
UnumProvident - Data Strategies, 3-South



     
  <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