Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 28 Jan 2004 @ 13:57:45 GMT


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


Subj:   Re: Invalid operation on ANSI date time
 
From:   Agarwal, Rachana

Krishna,

The format in which teradata by default accepts date is in format 'yyyy-mm-ddBhh:mi:ss.ssssss' .

So, either give date in this format ( i,e; '2004-01-28 06:25:29.540000' ) or explicitly cast the string to date format using

cast ('28-01-2004 06:25:29.540000' as timestamp(6) format 'dd-mm-yyyyBhh:mi:ss.s(6)').


This should work.


Regards,

Rachana



     
  <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