Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Sat, 18 Aug 2007 @ 16:20:42 GMT


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


Subj:   Re: How to find Number of days in a year from SQL
 
From:   Rob Paller

You can use the ADD_MONTHS(B.PROCESS_DATE, 12) and ADD_MONTHS(B.PROCESS_DATE, -12). See the manuals for details on the ADD_MONTHS function.



     
  <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: 28 Jun 2020