Cleaning up Old Maintenance Plans
This is something I trip over every now and then on systems we inherit from our clients, and I thought...
2012-03-12
678 reads
This is something I trip over every now and then on systems we inherit from our clients, and I thought...
2012-03-12
678 reads
As you probably know by now SQL Server 2012 was launched last week, Microsoft had an online launch event that...
2012-03-12
3,491 reads
I was recently asked about synchronizing a Merge pull subscription in SQL Server Express using RMO, the lack of a...
2012-03-13 (first published: 2012-03-12)
4,331 reads
Here’s a story from a recent meeting. We were discussing some problems and the team was talking through some options...
2012-03-12
800 reads
When log records remain active for a long time – truncation can be delayed. The delays can cause the transaction logs...
2012-03-12
1,285 reads
This month, the #meme15 post will fall on March 15th, often referred to as the Ides of March. This date...
2012-03-11
659 reads
On many forums I have found a very basic yet important query - “How can I know when was my Stored...
2012-03-11
10,022 reads
Last weekend, I braved to last hurrah of our Minnesota winter and jumped into Lake Calhoun in Minneapolis. It was...
2012-03-11
772 reads
In this post I would like to explain memory configuration option and memory utilization pattern in SQL server.I have seen...
2012-03-11
3,750 reads
2012-03-11
14 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