Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 07 May 2003 @ 20:55:46 GMT


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


Subj:   Re: TimeStamp and Coalesce in V2R5
 
From:   Fred W Pluebell

SELECT TYPE(CURRENT_TIMESTAMP);

Type(Current_Timestamp())
----------------------------
TIMESTAMP(6) WITH TIME ZONE

Use explicit CAST to force a match:

SELECT COALESCE(I, CAST(CURRENT_TIMESTAMP AS TIMESTAMP(6))) FROM T;



     
  <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