Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 26 Dec 2002 @ 11:00:59 GMT


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


Subj:   Re: TIMESTAMP in Teradata
 
From:   Deepa Nagaraj

hi,

You could use the substring function to do this as shown below : to extract YYYY-MM-DD ,

sel substring( cast(current_timestamp as char(26)) from 1 for 10);



     
  <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