Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 06 Oct 2000 @ 13:40:15 GMT


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


Subj:   Re: Functions of dates!
 
From:   David Wellman

Dieter,

This won't always work. If the 'date' (in your example) is right at the end of a month (i.e. 31st January) then adding 31 may take you past the next month (i.e. you'll end up in March and not February). It is much safer to go back to the first of the current month and then us the ADD_MONTHS function to add a single month.


Regards,

Dave



     
  <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