Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 30 Apr 2004 @ 13:57:31 GMT


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


Subj:   Re: How do i extract time out of a datetime field
 
From:   Dieter Noeth

Manish Kumar Maurya wrote:

  How do i extract time out of a datetime field!!!  



     select cast(current_timestamp as time);

      *** Query completed. One row found. One column returned.
      *** Total elapsed time was 1 second.

     Current TimeStamp(6)
     --------------------
          15:57:14.910000

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