Still a Need for a SQL Server Specific Organization
If you haven’t already, please read Denise McInerney’s post about why PASS no longer stands for the Professional Association for...
2014-08-20
663 reads
If you haven’t already, please read Denise McInerney’s post about why PASS no longer stands for the Professional Association for...
2014-08-20
663 reads
I was looking to write a new test with the tsqlt framework recently. I wanted to isolate a stored procedure’s...
2014-08-20
1,243 reads
Being a DBA and working with various teams, I have become accustomed to deploying SSIS packages. I’ll even go back...
2014-08-20
599 reads
I read with a bit of despair this post by Denise McInerney this morning. Going forward, it’s just “PASS”. Somehow...
2014-08-20
808 reads
As companies go, Red Gate is a little different. That is readily apparent in our tools and the philosophy behind...
2014-08-20
758 reads
Two years ago today I began my blog with a post about the DEFAULT keyword. I set out with the...
2014-08-20
952 reads
It’s official, we have a couple 2014 SQL in the City events scheduled, covering two countries this fall. Both events...
2014-08-19
1,334 reads
Big news for us in Orlando! On October 15th Mark Souza, General Manager – Data Platform Group at Microsoft, is going...
2014-08-19
584 reads
A discussion that I’ve frequently had with organizers of SQL Saturday events, our own people here at Red Gate, authors,...
2014-08-19
572 reads
Once you have a query that is returning the data you like in SSMS you have a few options to...
2014-08-19
844 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