Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 11 Apr 2011 @ 10:20:34 GMT


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


Subj:   Re: CAST INTERVAL to time gives 5407 error
 
From:   Dieter Noeth

Anomy.Anom wrote:

  Any got an idea on how the get this INTERVAL HOUR(2) TO SECOND(0) into a TIME?  


TIME is a point in time whereas INTERVAL is a duration, you can add a duration to a point in time:

     time '00:00:00' + TotalElapsTime

Dieter



     
  <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