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

Convert integer to TIME - response (11) by ocirej23

$
0
0
  Hi,   I think this will work:   SELECT CAST(TRIM(CAST(1256 AS CHAR(4))||'00') AS TIME(0) FORMAT 'HHMISS');   Output: ----------- 12:56:00   HTH Cheers, Eco

Viewing all articles
Browse latest Browse all 14773

Trending Articles