The Only Constant Is Change
In March of this year, I celebrated 10 years at Magenic. I blogged about it and called out values and...
2014-10-05
483 reads
In March of this year, I celebrated 10 years at Magenic. I blogged about it and called out values and...
2014-10-05
483 reads
Making last changes before sqlsat 311.
By the way, did you ever visited SQL Saturday? No? Why?
SQL Saturday is fun, SQL Saturday...
2014-10-05
640 reads
We hope you have enjoyed your summer and are ready to get back to learning all things SQL Server related! We...
2014-10-04
550 reads
I’m a great fan of running the latest version of Windows Server whenever I deploy SQLServer. I always try to...
2014-10-10 (first published: 2014-10-04)
6,168 reads
Common Table Expresseion (CTE)
A common table expression (CTE) is a derived table that is defined and only stored for the...
2014-10-08 (first published: 2014-10-03)
9,023 reads
Photo credit – Husso
I’ve always been a fan of the feeling when I find an old blog post that’s got just...
2014-10-03
836 reads
It’s Friday, time to look back at the most popular RealSQLGuy posts of the week. Because it’s Friday and you’re...
2014-10-03
343 reads
October 1st is one of the quarterly dates that Microsoft announces all of the new people into the MVP program. It is also a day in which Microsoft recognizes...
2014-10-02
12 reads
October 1st is one of the quarterly dates that Microsoft announces all of the new people into the MVP program....
2014-10-02
584 reads
I think learning to better test our software, including the database objects, is one of the ways in which we’ll...
2014-10-02
790 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