|
Archives of the TeradataForumMessage Posted: Sat, 01 Mar 2008 @ 11:00:42 GMT
On my previous post I should have converted it back to a date I guess: BTEQ -- Enter your DBC/SQL request or BTEQ command: select cast('31-dec-' || trim(extract(year from current_date)-1) as date format 'dd-mmm-yyyy') "end date"; *** Query completed. One row found. One column returned. *** Total elapsed time was 1 second. end date ----------- 31-Dec-2007
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||