troubleshooting Question

SQL Query - Days of Current Month

Avatar of Dave KIlby
Dave KIlby asked on
Microsoft SQL ServerSQL
1 Comment1 Solution25 ViewsLast Modified:
I am trying to run a query that pulls a report for the current month but if there is no data for a specific date it still shows the date but has zeros in the record field

For example

2020-06-01     10      $6000
2020-06-02     25      $12000
2020-06-03     0        $0
2020-06-04     5        $400

Right now when i run the query it would not show June 3rd as there is no data for that day.

Brian Crowe
Database Engineer
Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
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 1 Comment.
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