Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Convert integer to TIME - response (3) by Harpreet Singh

$
0
0
Please try this one select cast(1256 as char(4)) as numb, substring(numb from 1 for 2)||':'||substring(numb from 3 for 2)||':00' as convertedstring, cast (convertedstring as time) as goodtimes 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>