471,086 Members | 1,188 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,086 software developers and data experts.

hourly average help

6
Please help! im new to SQL and im finding a way of calculating an hourly avg difficult.

This is what i have so far for all the data for the week - but i want an hourly avg instead of every second of everyday between. Please help! thanks


select "computerName" , "TimeSampled", "PerformanceCounterName", "SampledValue"
from dbo.SDKPerformanceview
where computername like 'dmm%' and performancecountername like 'total messages submitted'
and timesampled between '2007-05-14 00:00:00' and '2007-05-20 23:59:00'
May 23 '07 #1
0 987

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Philip D Heady | last post: by
6 posts views Thread by J | last post: by
4 posts views Thread by Gary | last post: by
7 posts views Thread by Compliance | last post: by
9 posts views Thread by tommo5 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.