Creative and Strange
Wednesday, September 26, 2018
Oracle SQL Convert Seconds to TIme Format
SELECT TO_CHAR(TRUNC(x/3600),'FM9900')|| chr(58) || TO_CHAR(TRUNC(MOD(x,3600)/60),'FM00')|| chr(58) || TO_CHAR(MOD(x,60),'FM00') FROM DUAL Note: where x is the time field such as departuretime
Newer Posts
Older Posts
Home