Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 29 Sep 2006 @ 17:46:56 GMT


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


Subj:   Re: Operation on timestamps Teradata vs Oracle
 
From:   Anomy Anom

<-- Anonymously Posted: Friday, September 29, 2006 11:49 -->

  if timestamp_field = 2006-01-01 10.56:00 then the trunc return 2006-01-01 0.00:00.  



Response:

This might be opportunity to earn some consulting fee??

Try the following:

     select cast(cast(timestamp'2006-01-01 10:56:00' as date) as timestamp(0));


     
  <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