New SQL Standard Article
A new article for the SQL Standard is now available. You can find the article here. The article is by...
2010-05-20
614 reads
A new article for the SQL Standard is now available. You can find the article here. The article is by...
2010-05-20
614 reads
The last post in the series on finding the sizes of your tables showed us how we could find that...
2010-05-19
1,438 reads
On the evening of May 13th, S3OLV held its monthly meeting. We had some really good discussion, and got to...
2010-05-14
709 reads
Once again it looks like I was early for the T-SQL Tuesday event. Last month I submitted my entry on...
2010-05-11
882 reads
It is once again that time of year. It is time to nominate the DBA in your life for the...
2010-05-11
943 reads
This is just a quick note to remind any interested parties that the May S3OLV meeting will be held this...
2010-05-11
472 reads
In the first post of this series I highlighted and described two stored procedures that are shipped from Microsoft. These...
2010-05-05
4,715 reads
In SQL Server there are two stored procedures that help one to determine the size of a table. One is...
2010-05-03
882 reads
Finally I am putting down to paper my marathon race list for this season. Some of my favorite races are...
2010-04-30
1,489 reads
For the April T-SQL Tuesday, I blogged about a report to find information on the BLOBs in a database. I...
2010-04-27
1,239 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