日期:2014-05-17 浏览次数:20345 次
DECLARE @i TABLE(stime INT) INSERT INTO @i ( stime ) SELECT 120 UNION SELECT 100 UNION SELECT 6 SELECT CONVERT(VARCHAR,DATEADD(ss,stime,'2000-01-01'),108) AS mi FROM @i /* 00:00:06 00:01:40 00:02:00*/