I have a Database table having a column 'time' which has milliseconds stored. I need to convert that in hours:minutes:seconds format. Can anyone please help how to do that? I think it requires a function. I tried one , but it only works for hours less than 24 hours. I need it to convert greater than 24 hours as well. Note: the datatype of the Time column is Varchar2.
Thanks in advance..