Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 27 Feb 2003 @ 20:50:33 GMT


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


Subj:   Re: Finding the last day of the month
 
From:   Hayes, Jim M

That was my original thought, however, our valiant IT folks are discouraging the use of Sys_calendar in favor of using ADD_MONTHS directly against date formatted fields in the tables.

Jim Hayes

could be achieved by this..

sel max(calendar_date) from Sys_Calendar.calendar
group by year_of_calendar,month_of_calendar
order by 1



     
  <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