|  |  | 
|  |  | Archives of the TeradataForumMessage Posted: Mon, 16 Jan 2006 @ 14:20:41 GMT
 
 How about adding format '99'? I also removed the extra cast to CHAR 
     SELECT  cast (86341/3600 as DECIMAL(2) format '99')
             || ':' ||
             cast ((86341/60 mod 60) as DECIMAL(2) format '99')
             || ':' ||
             cast ((86341/60.0000  mod 1  *  60) as decimal(2) format '99')
Kiki Sanchez 
 | ||||||||||||||||||||||||||||||||||||||||||||||
|  | ||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||