|
Archives of the TeradataForumMessage Posted: Fri, 06 Oct 2000 @ 13:40:15 GMT
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
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||