Excel Within Management Studio
Aaron Bertrand has put in a Connect request for a feature whereby data returned as a grid from a query...
2010-01-13
754 reads
Aaron Bertrand has put in a Connect request for a feature whereby data returned as a grid from a query...
2010-01-13
754 reads
I’ve kind of been embarassed to post these despite the fact that I received them a couple of weeks ago....
2010-01-13
584 reads
I’ve wracked my brain for some bit of puzzle that I could present as part of TSQL Tuesday #2 and I...
2010-01-12
1,132 reads
You must read this post from Tim Ford to understand why I might do this on my technical blog. But...
2010-01-11
886 reads
The second annual New England Data Camp is shaping up to one excellent event. We’ve put together a great set...
2010-01-11
564 reads
The big day has arrived and all the speakers are poring over their PASS Summit 2009 evaluations, me included. These...
2010-01-06
702 reads
I’d really like to publish your article in SQL Server Standard. All I need from you is an abstract, a...
2010-01-04
965 reads
And really bad plagiarism at that.
I received an email from someone suggesting I check out a book on Lulu.com, that...
2010-01-01
1,032 reads
Steven Jones posted an excellent editorial today all about how your backups are only good if you know that you...
2009-12-30
1,325 reads
I had a fun support call I need to share. A developer called up to tell me that a particular...
2009-12-29
1,306 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