![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 03 Nov 2011 @ 17:29:36 GMT
Another method that is fun, but not very intuitive is this:
select current_date (format 'EEEE') (char(9)) as "long format"
, current_date (format 'EEE') (char(3)) as "short format"
;
Returns:
long format short format
Thursday Thu
Paul Burns
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||