Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 29 Feb 2012 @ 16:05:01 GMT


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


Subj:   Re: To extract certain DATE-TIMESTAMP
 
From:   Ruszczyk, Aneta

Hi,

Maybe this will work (works in Sql Assistant):

     SELECT
     CAST(CAST(CURRENT_DATE AS FORMAT 'yyyy-mm-dd') AS char(10))
      || ' ' || CAST(CAST(CURRENT_TIME AS FORMAT 'HH:MI:SS') AS CHAR(8)) ;

Pozdrawiam,
Aneta Ruszczyk



     
  <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