![]() |
|
Archives of the TeradataForumMessage Posted: Mon, 06 Jun 2005 @ 11:34:05 GMT
This worked for me:
select add_months(cast (yourdate||'01' as date format 'yyyymmdd'),-36)
from your_table
Merv
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||