Archives of the TeradataForum
Message Posted: Fri, 26 Mar 2004 @ 20:49:19 GMT
Subj: | | Re: Float to Timestamp Conversion |
|
From: | | Tewksbury, Kevin |
See if this works for you. I used the ResusageSpma table since I knew that it's time field is a float. This may be overkill, but it was the
only way I could get it to work. If anyone has something easier I would like to see it as well.
select cast( cast( cast( cast(thetime as FORMAT '99:99:99')
as char(8)) as time(6)) as timestamp)
from DBC.ResUsageSpma
(tried to add color to this, to maybe help see individual pieces)
KRT
|