T-SQL Tuesday #121: Gifts received for this year Redux 2020
At the end of 2019, Mala (b|t) invited us to write about the gifts we’ve gotten during the year. I’ve decided to try to make this yearly habit. This year...
2020-12-16
13 reads
At the end of 2019, Mala (b|t) invited us to write about the gifts we’ve gotten during the year. I’ve decided to try to make this yearly habit. This year...
2020-12-16
13 reads
At the end of 2019, Mala (b|t) invited us to write about the gifts we’ve gotten during the year. I’ve decided to try to make this yearly habit. This year...
2020-12-16
21 reads
At the end of 2019, Mala (b|t) invited us to write about the gifts we’ve gotten during the year. I’ve decided to try to make this yearly habit. This year...
2020-12-16
12 reads
At the end of 2019, Mala (b|t) invited us to write about the gifts we’ve gotten during the year. I’ve decided to try to make this yearly habit. This year...
2020-12-16
29 reads
In 2018 I started a new user group called the Calgary Data User Group, and hosted one session called “The Ethics of Machine Learning.” It was well-attended and its...
2020-12-16
36 reads
I started to add a daily coping tip to the SQLServerCentral newsletter and to the Community Circle, which is helping me deal with the issues in the world. I’m...
2020-12-16
48 reads
Excited. Have a new solution in the works to deploy Ola Hallengren via SSM Automation runbook across all SQL Server instances with full scheduling and synchronization to S3. Hoping...
2020-12-16
44 reads
Excited. Have a new solution in the works to deploy Ola Hallengren via SSM Automation runbook across all SQL Server instances with full scheduling and synchronization to S3. Hoping...
2020-12-16
57 reads
At first glance, the question of how many rows are estimated from a table variable is easy. But, is it really that simple? Well, not really. To dig into...
2020-12-15
43 reads
At first glance, the question of how many rows are estimated from a table variable is easy. But, is it really that simple? Well, not really. To dig into...
2020-12-23 (first published: 2020-12-15)
450 reads
By Arun Sirpal
“What exactly did it do on my server?” is the first question a DBA...
By James Serra
Microsoft shared a broad set of Fabric, Power BI, and SQL updates at FabCon...
By Steve Jones
No, I’m not quitting or retiring. Just going on vacation, but I leave tonight...
Comments posted to this topic are about the item Let's Talk Certifications, which is...
Comments posted to this topic are about the item The Hidden Security Risks of...
Comments posted to this topic are about the item The Empty Aggregate
I have this table in a SQL Server 2025 database:
CREATE TABLE [dbo].[CustomerOrder] ( [OrderID] [int] NULL, [CustomerID] [int] NULL, [total] [money] NULL ) ON [PRIMARY] GOWhat is returned from this code? (answers are for the sum and then the count)
SELECT SUM(total) AS sum,
COUNT(total) AS count
FROM dbo.CustomerOrder;
See possible answers