|
|
Archives of the TeradataForum
Message Posted: Thu, 17 Dec 2009 @ 21:58:58 GMT
Subj: | | Re: Multiload timestamp |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Thursday, December 17, 2009 16:57 -->
The problem is that Teradata time formats all require two-digit hour, e.g. 02:51 not 2:51. You can work around that with a CASE statement that
uses SUBSTRING, etc. to concatenate the "missing" leading zeros, and put a CAST around that with appropriate format.
Same issue with month, day of month - must be two digits not one.
| |