SQL 2012 includes the FORMAT function that would have allowed ... LEFT(RIGHT('000000' + CONVERT(VARCHAR(6), @time), 6), 2) + ':' + SUBSTRING(RIGHT('000000' + CONVERT(VARCHAR(6), @time), 6), 3, 2) + ':' + RIGHT('00' + CONVERT(VARCHAR(6), @time), 2)),109),'.
↧