SELECT Convert(varchar(5), DATEADD(minute, Convert(int, YOUR-COLUMN-WITH-MINUTES), ''), 108)
SET @TestValue = '130' SELECT Convert(varchar(5), DATEADD(minute, Convert(int, @TestValue), ''), 108) -- Result: 02:10
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)