I have a database that displays time as an integer. However I am wanting to output this into a report with the correct format. This is the format that I would like to change:
eg.
183000 would become 18:30 500 would become 00:05 160000 would become 16:00
and so on.
I have had a look and CAST and CONVERT but not succefully managed to get this the time in the correct format.