February 25, 2011 at 6:41 pm
Hi there:
I'm looking to find the average run time of a job that runs mutiple times daily. We have two columns that contain BEGINDTTM (begin time of job)and ENDDTTM (end time of job). I'd usually query the job, using something like SELECT * FROM TABLE WHERE process= 'ABCDE' AND BEGINDTTM = '2011-02-24'. I believe I can use a @AVG operator but not sure the best way to setup the syntax.
Appreciate insight
February 26, 2011 at 12:56 am
search Books Online on "GROUP BY clause, AVG function".
You'll find nice examples of what you need.
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply