![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 21 May 2004 @ 20:16:01 GMT
You could use the ADD_MONTHS function:
case
when EXPIRATION_DATE < CURRENT_DATE
then ADD_MONTHS(EXPIRATION_DATE, 12)
else EXPIRATION_DATE
end as NEW_DATE
Wayne Sexton
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||