Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Rounding hour and minute from time stamp to the closest hour - forum topic by oekinguen

$
0
0

Hi All, 
 
I need to round this: 
zc.solved_at_ts (FORMAT 'HH:MI') (CHAR(5)),
to the closest hour. ex if 16:35 then 17:00 and if 16:29 then 16:00
 
Round function did not work. Any ideas? It needs to be in one line nested something like this: round (zc.solved_at_ts (FORMAT 'HH:MI') (CHAR(5))) 
 
Thanks so much in advance for the help. 
Ozge
 
 

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles