Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 05 Jan 2007 @ 13:42:58 GMT


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


Subj:   Re: Casting integer as Time
 
From:   Victor Sokovin

  No need for substrings :-)  


     > select 73000  (FORMAT '99:99:99') (CHAR(8))

Oh, yes. The colon may survive simple formats but if you go for a generic radix (option D) to cover the decimal part, which we did not cover, or something like that then the format becomes invalid. I don't know, maybe my extra typing was worth it.


Victor



     
  <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