![]() |
|
Archives of the TeradataForumMessage Posted: Mon, 18 Aug 2008 @ 13:20:46 GMT
Try using the "interval" syntax:
Select Current_timestamp(0) - interval '30' day as prunedate
From (Select 1) Tmp (ONE);
Kevin R Tewksbury
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||