Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 26 Mar 2004 @ 20:49:19 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


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



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023