I need to calculate job time between two dates i.e. I am having table with name job and in that table i am having jobStartDate and JobCompleteDate as Datetime fields now i need to get time duration between those 2 dates i.e.
AS Mentioned by J.D my question is not duplicate I Verified this answer: SQL time difference between two dates result in hh:mm:ss
My Query
SELECT DATEDIFF(HOUR,jobStartDate,JobCompleteDate) FROM tbl_Jobs
My result
1
Expected Output
1:20 Hr