非常に簡単です:
CONVERT(TIME,Date2 - Date1)
例:
Declare @Date2 DATETIME = '2016-01-01 10:01:10.022'
Declare @Date1 DATETIME = '2016-01-01 10:00:00.000'
Select CONVERT(TIME,@Date2 - @Date1) as ElapsedTime
収量:
ElapsedTime
----------------
00:01:10.0233333
(1 row(s) affected)