Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 23 Oct 2012 @ 08:41:46 GMT


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


Subj:   Re: How to calculate average endtime irrespective to run date
 
From:   Pluebell, Fred

You can easily convert number of seconds to an INTERVAL:

     NumOfSecs*INTERVAL '00:00:01.00' HOUR TO SECOND(2)

Note that when dealing with TIME fields, you have to think about time zone and daylight saving adjustments.



     
  <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