SQL RNNR

Blog Post

Linked Servers

Do you have linked servers that have been created in your environment?  Do you know what these linked servers are?

Finding...

2012-03-01

1,114 reads

Blog Post

Linked Servers

Do you have linked servers that have been created in your environment?  Do you know what these linked servers are? Finding Linked Servers SQL Server has provided us means...

2012-03-01

17 reads

Blog Post

Goals 2012

As I have wanted to do each year, here is my goals post for 2012.  Last year I set out to do this very same thing but was very...

2012-02-08

7 reads

Blog Post

S3OLV – Get your Merge On

We are rapidly closing in on the February meeting for S3OLV.  You might remember reading about the upcoming meeting here. We are looking to have an excellent meeting this...

2012-02-07

11 reads

Blog Post

Freedom

Not too long ago, I blogged about a Book called Daemon.  Freedom is the sequel to Daemon.
I enjoyed reading this...

2012-02-07

721 reads

Blog Post

Freedom

Not too long ago, I blogged about a Book called Daemon.  Freedom is the sequel to Daemon. I enjoyed reading this book.  The story continues from Daemon, but in...

2012-02-07

23 reads

Blogs

How to Clear the SSMS Cache (SSMS 21 and Later)

By

How to Clear the SSMS Cache (SSMS 21 and Later) Updated...

The flight recorder: Replaying what an AI agent did on my SQL Server

By

“What exactly did it do on my server?” is the first question a DBA...

Announcements from the Microsoft Fabric Community Conference — Barcelona 2026

By

Microsoft shared a broad set of Fabric, Power BI, and SQL updates at FabCon...

Read the latest Blogs

Forums

Let's Talk Certifications

By Grant Fritchey

Comments posted to this topic are about the item Let's Talk Certifications

The Hidden Security Risks of Role Combination in SSAS Tabular

By Pablo Echeverria

Comments posted to this topic are about the item The Hidden Security Risks of...

The Empty Aggregate

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Empty Aggregate

Visit the forum

Question of the Day

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]
GO
What 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