![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 23 Sep 2004 @ 10:29:50 GMT
Azhar S Mohammad wrote:
There's no build-in function, but the following calculation works even for a date before >1900-01-01'
(EXTRACT(YEAR FROM col) * 10000 + 0101) - 19000000 (DATE)
Dieter
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | |||||||||||||||||||||||||||||||||||||||||||||||||||