Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 04 Aug 2006 @ 13:24:55 GMT


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


Subj:   Casting Character To Timestamp
 
From:   PryorCh

Hi Everybody

I have a field labeled xyz_timestamp but it's defined as xyz_timestamp char x(17). It actually contains the data of a timestamp, format 'YY/MM/DD HH:Mi:SS'. I want to cast it as a timestamp(0), so that I can compare to other dates. The problem is the cast isn't working. I get the error message 3706 invalid timestamp. Here's what I'm trying: cast (xyz_timestamp as timestamp(0) format 'YY/MM/DD HH:MI:SS') . Any help would be greatly appreciated. Thanks



     
  <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