What I know about batch files
For a SQL Server guy it sometimes amazes me how often I’m in and out of batch files and how...
2014-09-24
626 reads
For a SQL Server guy it sometimes amazes me how often I’m in and out of batch files and how...
2014-09-24
626 reads
We had a disaster at SQLServerCentral this past weekend. It wasn’t a big disaster, but it was an event that...
2014-09-23
727 reads
Just a brief note to say that I will be voting for Grant Fritchey for the PASS Board and I...
2014-09-23
1,136 reads
Last week before our monthly MagicPASS meeting I went through my usual routine of grabbing the PASS chapter deck and...
2014-09-23
535 reads
First, a reminder/disclaimer that I am serving on the PASS NomCom this year. The four candidates in the election are...
2014-09-26 (first published: 2014-09-23)
6,528 reads
Lately I have been using more and more the awesomeness of the Alt-button in SQL Server Management Studio (SSMS). What...
2014-09-23
851 reads
The latest update to my book, SQL Server Query Performance Tuning was released last week. This is the fourth edition...
2014-09-23
787 reads
Did you ever faced a situation when needing to generate dynamically a SQL Server Reporting Services Report on-demand, at some...
2014-09-22
409 reads
I’ve wanted to do this for a while, decided to make the time commitment and see what happens. See the...
2014-09-22
550 reads
Andy wrote a post today called The End of the Mentoring Experiment, which is something we’ve talked about for some...
2014-09-22
729 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