![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 21 May 2004 @ 19:58:10 GMT
case when expiration_date < date then
add_months(EXPIRATION_DATE,
((extract(year from date)) - (extract(year from
expiration_date))) * 12)
else expiration_date end as new_date
Kyle Prescott
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||