A SQL Experiment – Mentoring
News Flash The SQL Community is about to get stronger. Why? There is a great new initiative that was recently launched. Steve Jones and Andy Warren are teaming up...
2011-04-26
22 reads
News Flash The SQL Community is about to get stronger. Why? There is a great new initiative that was recently launched. Steve Jones and Andy Warren are teaming up...
2011-04-26
22 reads
News Flash
The SQL Community is about to get stronger. Why? There is a great new initiative that was recently launched....
2011-04-26
804 reads
You may have noticed when you setup a merge pull subscription using the
New Subscription Wizard in SSMS that you...
2011-04-26
1,403 reads
There will come a day, if it has not already come and gone, when you will want to search through...
2011-04-26
1,084 reads
Ever have one of those days where no matter how hard you try you just can’t seem to make any...
2011-04-25
698 reads
For Day 25 of this series, I want to talk about how you go about picking a CPU for your...
2011-04-25
551 reads
Why should you go to the trouble to start blogging, speaking, answering questions or anything else. What’s the point?
I’ve written...
2011-04-25
1,335 reads
A sad weekend, and shocking news Sunday morning. I was out running errands when I checked email and found out...
2011-04-25
1,594 reads
Most of the time when I run a poll on my blog, I run it for at least a month...
2011-04-25
2,493 reads
I had a need today to disable all of our admin jobs while I moved our admin database to another...
2011-04-25
2,839 reads
By SQLPals
How to Clear the SSMS Cache (SSMS 21 and Later) Updated...
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...
Comments posted to this topic are about the item Let's Talk Certifications
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