Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 12 Oct 2006 @ 22:05:51 GMT


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


Subj:   Re: Timestamp rounding
 
From:   Michael Larkins

Harshida:

This might get you what you are looking for:

     (cast((ts_column + interval '0.5' second) as timestamp) (char(19))) (timestamp)

Hope it helps,

Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor



     
  <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