|
Archives of the TeradataForumMessage Posted: Thu, 27 Feb 2003 @ 20:34:28 GMT
To find First day of the month from year, month use query select ('200201' (date, format 'yyyymm')) '200201' To find the last day use: select Add_months(('200201' (date, format 'yyyymm')),1)-1 (ADD_MONTHS('200201', 1)-1) Sankar
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||