![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 07 Jul 2009 @ 11:50:10 GMT
Kapil, Patric, Thank you for helping me :) Finaly it goes like this:
SEL
CAST(CURRENT_TIMESTAMP AS TIMESTAMP(6)
FORMAT 'YYYY/MM/DDBHH:MI:SS.S(6)') -
CAST('2009-07-01 00:00:00.00' AS TIMESTAMP(2)
FORMAT 'YYYY/MM/DDBHH:MI:SS.S(2)') HOUR(4) TO SECOND(6)
Best regards LS
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||