Start New Discussion Reply to this Discussion i want to get the raw time btw 2 dates in seconds
How would it be possible using T-SQL to find the raw amount of time that has passed between when the job started and when the job ended?
i have used this function
datediff(ss,grn_date,GETDATE()) .
this function gets the jobs done how ever if the diffrence btw the dates is huge like grn_date is in u know 2006-1-1 then i get the error that"Arithmetic overflow error converting int to data type numeric." so now what do i do to get the values.
A.Muqeetkhan
Newbie Poster
3 posts since Sep 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0
AleMonteiro
Master Poster
752 posts since Aug 2010
Reputation Points: 129
Solved Threads: 140
Skill Endorsements: 23
A.Muqeetkhan
Newbie Poster
3 posts since Sep 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0
You're welcome.
Just mark the thread as solved please.
AleMonteiro
Master Poster
752 posts since Aug 2010
Reputation Points: 129
Solved Threads: 140
Skill Endorsements: 23
© 2013 DaniWeb® LLC
Page rendered in 0.0721 seconds
using 2.67MB