troubleshooting Question

Need query to sum data for each day of month

Avatar of edrz01
edrz01Flag for United States of America asked on
Microsoft SQL Server
21 Comments1 Solution587 ViewsLast Modified:
Sounds like a pivot (which I have not done yet).

I need a query which will sum device downtime per day for each day of the month.

Device    Day1    Day2   Day3   Day4 ........
ABCD       0           10        5         27  .......
LBDF        7             3        0          0   .......

Any ideas? I can provide more details if needed.
ASKER CERTIFIED SOLUTION
Cluskitt

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 21 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 21 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros