TSQL Tuesday 13: Managing Unrealistic Expectations
It’s that time of the month again, no not that one, it’s T-SQL Tuesday time and this weeks topic is...
2010-12-14
675 reads
It’s that time of the month again, no not that one, it’s T-SQL Tuesday time and this weeks topic is...
2010-12-14
675 reads
Today I was out and about looking for past roundups on TSQLTuesday. While doing that, I came across a post from Paul Randal (Blog | Twitter) about wait stats. The...
2010-12-13
9 reads
Today I was out and about looking for past roundups on TSQLTuesday. While doing that, I came across a post...
2010-12-13
708 reads
While working on a process to refresh the QA environment (data purge, reload data and reapply changes made over time as parts of release cycles), I ran into self-imposed...
2010-12-13
17 reads
While working on a process to refresh the QA environment (data purge, reload data and reapply changes made over time...
2010-12-13
721 reads
If you’re anything like me, you create a ton of objects and have them in various projects. And sometimes, you...
2010-12-13
562 reads
I had a brainstorm of an idea for a group of articles on my blog a couple of weeks ago and am finally getting around to putting it together....
2010-12-13
8 reads
I had a brainstorm of an idea for a group of articles on my blog a couple of weeks ago...
2010-12-13
513 reads
Watching videos?! Su-ure!
If you’re reading this, it must be Monday morning. Oh dear, that means I am officially starting my...
2010-12-13
529 reads
Well, we have 3 days left in the PASS SQLRally Call for speakers and we are doing well. We have over 70 completed submissions, there may be more in a...
2010-12-13
6 reads
By James Serra
Microsoft shared a broad set of Fabric, Power BI, and SQL updates at FabCon...
By Steve Jones
No, I’m not quitting or retiring. Just going on vacation, but I leave tonight...
Comments posted to this topic are about the item Let's Talk Certifications, which is...
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