Tis the Season
This month has been quite the month for change in my family. The changes that we are experiencing did not...
2010-12-15
545 reads
This month has been quite the month for change in my family. The changes that we are experiencing did not...
2010-12-15
545 reads
Onion Ring Buffer?
A client asked a co-worker to take a look at a query for reviewing RING_BUFFER_OOM messages in sys.dm_os_ring_buffers. ...
2010-12-15
1,354 reads
Onion Ring Buffer?
Ever think to yourself, “hmm, I wish I could generate me some RING BUFFER_OOM errors”? This request happened...
2010-12-15
752 reads
I was reading a few forum posts yesterday where a few people were complaining that the transaction log had grown...
2010-12-15
2,400 reads
Go SQL! Go SQL! It’s the last day and the last chance (last dance?) to submit a session for the...
2010-12-15
709 reads
In the front yard, using the iPad & SQL Monitor
After a great deal of unseemly begging, I managed to acquire an...
2010-12-15
906 reads
Email consumes a pretty significant chunk for me. Email for my day job, email for my blog, email from friend...
2010-12-15
877 reads
I couldn't sleep this morning and decided to wake up and catch up on my email when I noticed a video link...
2010-12-15
1,681 reads
I'm slow to get this out, but I finally rendered the raw bloopers from November. Enjoy.
Part 1
Part 2
Part 3
2010-12-15
1,105 reads
The PASS Election Review Committee has geared up and we've started looking at the process of the entire election process...
2010-12-15
1,103 reads
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