Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Thu, 26 Dec 2002 @ 11:04:43 GMT


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


Subj:   Re: TIMESTAMP in Teradata
 
From:   Sanjaya Nagabhushan

Try this ...

sel cast (current_timestamp as char(26));

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

Current TimeStamp(6)
--------------------------
2002-12-26 16:19:36.730000

sel character_length (cast(current_timestamp as char(26)));

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

Characters(Current TimeStamp(6))
--------------------------------
                              26

Sanjay



     
  <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: 28 Jun 2020