How to retrieve Cell Properties from a SSAS MDX query using SSIS
Scenario
This is a short article where I want to share something I discovered recently. I worked on an SSIS package...
2016-07-14 (first published: 2016-07-02)
1,884 reads
Scenario
This is a short article where I want to share something I discovered recently. I worked on an SSIS package...
2016-07-14 (first published: 2016-07-02)
1,884 reads
One of the common source data files that every ETL Developer/Architect will have to grapple with every now and then...
2016-04-03
17,322 reads
Dear reader, I would like to share with you some of the capabilities that the Power Query for Excel brings...
2013-08-22 (first published: 2013-08-19)
4,925 reads
Scenario
I have discovered from working on projects that sometimes you may have to make use of temporary or staging tables...
2012-12-23
2,407 reads
Sometimes in life things happen when you least expect them. This was my experience some few weeks ago when I...
2012-11-13
1,047 reads
In this blog post, I will be sharing a new date feature in SQL Server 2012 called the EOMONTH (End...
2012-08-02
1,736 reads
2012-06-10
647 reads
I am sure you have heard of the term; garbage in garbage out. This maxim is even more true when...
2012-06-10
905 reads
These datatypes particularly NVARCHAR(n), have been with us for some time now but having seen some of the confusion around...
2012-05-28
7,844 reads
I am wrapping up this series by finally considering the rarely used type 3 SCD.
( i.e. in most business scenarios)
Unlike...
2012-05-22
825 reads
How can you achieve good enough without compromising the process/product? In the world of...
By Patrick
One of my customers recently wanted to rename each of the SQL audit files...
The post The pros and cons of self-service BI: What every industry leader should...
Comments posted to this topic are about the item What's New for the Microsoft...
Comments posted to this topic are about the item Using Outer Joins
I have this data in a SQL Server 2019 database:
Customer table CustomerID CustomerName 1 Steve 2 Andy 3 Brian 4 Allen 5 Devin 6 Sally OrderHeader table OrderID CustomerID OrderDate 1 1 2024-02-01 2 1 2024-03-01 3 3 2024-04-01 4 4 2024-05-01 6 4 2024-05-01 7 3 2024-06-07 8 2 2024-04-07I want a list of all customers and their order counts for a period of time, including zero orders. If I run this query, how many rows are returned?
SELECT c.CustomerName, COUNT(oh.OrderID) FROM dbo.Customer AS c LEFT JOIN dbo.OrderHeader AS oh ON oh.CustomerID = c.CustomerID WHERE oh.Orderdate > '2024/04/01' GROUP BY c.CustomerNameSee possible answers