Looking back on 2014
When a new year comes around it is always a great time to reflect on the previous year.
2014 was a...
2015-01-06
429 reads
When a new year comes around it is always a great time to reflect on the previous year.
2014 was a...
2015-01-06
429 reads
Greetings ALL and Happy New Year 2015! I wish everyone an excellent year ahead, and
that 2015 will bring peace and...
2015-01-06
5,933 reads
There are several really good blogs that already exists that explain the differences between Table Variable, Common Table Expressions (CTE)...
2015-01-05
316 reads
There are several really good blogs that already exists that explain the differences between Table Variable, Common Table Expressions (CTE)...
2015-01-05
1,176 reads
What a fun week we have tuned up for the folks in Las Vegas. It is the first full week of January and there is this huge convention going...
2015-01-05
7 reads
What a fun week we have tuned up for the folks in Las Vegas. It is the first full week...
2015-01-05
546 reads
#Tl;dr article (time constraints prevented me from reworking significantly)
An article on SQL-Server-pro was forwarded over to me to research by...
2015-01-08 (first published: 2015-01-05)
8,574 reads
Today, I was reminded that global temp tables scope lasts for the session, and doesn't last beyond that. The difference...
2015-01-05
778 reads
In a recent post, I described an attack against a privileged account using a simple SQL Injection technique of updating...
2015-01-05
854 reads
Some effects on plan cache and max memory settings
Related Posts:
The Curiously Large CASE Statement March 20, 2019
Maintenance Plan Owner - Back to Basics December 13, 2018
ArithAbort and...
2015-01-05
7 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