Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 16 Jan 2006 @ 14:21:35 GMT


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


Subj:   Re: Time calculations and MLoad
 
From:   Tewksbury, Kevin

See if this works for you, it appears to in SQL Assistant:

     SELECT  cast (  cast (cast (86341/3600 as DECIMAL(2)) as CHAR(2))
             || ':' ||
             cast (cast ((86341/60 mod 60) as DECIMAL(2)) as CHAR(2))
             || ':' ||
             cast (cast ((86341/60.0000  mod 1  *  60) as DECIMAL(2)) as CHAR(2)) as time(0))

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: 23 Jun 2019