I have a database with all times recorded in seconds. However, I need to display the time in the conventional HH:MM:SS format. Stupid MSFT screwed with thier version of SQL and I cannot use the MYSQL or Oracle SQL formatting techniques.
I have tried using the FORMAT(FieldName, h:m:s) but it only converts numbers to the right of a decimal into that format. I can divide by 3600 to get hours, but thats jut messy. Additionally, I need to be able to show time above 24 hours (hence elapsed time).
I have tried using the FORMAT(FieldName, h:m:s) but it only converts numbers to the right of a decimal into that format. I can divide by 3600 to get hours, but thats jut messy. Additionally, I need to be able to show time above 24 hours (hence elapsed time).