Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 16 Jan 2008 @ 23:03:51 GMT


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


Subj:   Re: Convert time from twenty four hour to twelve hour format
 
From:   Fred W Pluebell

TIME and CURRENT_TIME(n) seem similar in that they both return some "time of day" value, but as you discovered they are not interchangeable.

The data type returned by the old built-in function TIME is actually FLOAT. CURRENT_TIME or CURRENT_TIME(0) returns type TIME(0) WITH TIME ZONE.

(By contrast, DATE and CURRENT_DATE both return a type of DATE.)



     
  <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