Baseline SQL Server with SQL Sentry Performance Advisor
Baselines can be any set of metrics that have been recorded to give you an understanding of what is the...
2013-06-24
2,915 reads
Baselines can be any set of metrics that have been recorded to give you an understanding of what is the...
2013-06-24
2,915 reads
We all dread the scenario whereby SQL Server is under so much load and has a complete lack of resources...
2013-05-29 (first published: 2013-05-23)
4,462 reads
I came across an interesting issue recently with NHibernate, now it is widely known I despise ORM’s, in my experience...
2013-05-22 (first published: 2013-05-15)
2,769 reads
For those of you that don’t know DTA stands for Database Engine Tuning Adviser and is available from the Tools...
2013-05-15 (first published: 2013-05-09)
11,491 reads
Over the weekend I finished reading yet another Red Gate book, this one was SQL Server Hardware by Glenn Berry...
2013-05-07
930 reads
This week I've been carrying out some performance tuning of some of the more intensive procedures in one of our environments. Using...
2013-03-21 (first published: 2013-03-14)
3,638 reads
Parallelism, where to start? Well let’s start right at the beginning shall we with the question, what is parallelism? Simply...
2013-02-26
3,537 reads
Every year me and a group of friends attend the Royal International Air Tattoo (RIAT) at RAF Fairford, for us it...
2013-02-17
798 reads
I came across an interesting issue a few days ago that I thought I would blog about. The issue is...
2013-02-15
1,614 reads
I promised you some PowerShell scripts this year and this post is the first one. I can see the value...
2013-02-14
6,848 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