|  |  | 
|  |  | Archives of the TeradataForumMessage Posted: Mon, 03 Mar 2008 @ 11:29:46 GMT
 
 Hi Gagan: I have no idea what the rowtype function does, but to get to the last day of any month, you can do the following in Teradata: 
     sel (add_months(date,1)/100*100+1(date))-1
Hope this helps, Michael Larkins 
 | ||||||||||||||||||||||||||||||||||||||||||||||
|  | ||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||