T-SQL Tuesday 14: Resolutions #TSQL2sDay
Time for the first T-SQL Tuesday of 2011. This month Jen McCown (Blog | @midnightdba) is hosting the event. The topic...
2011-01-11
566 reads
Time for the first T-SQL Tuesday of 2011. This month Jen McCown (Blog | @midnightdba) is hosting the event. The topic...
2011-01-11
566 reads
I’ve recently come to realize what a truly remarkable feature it is to be able to
format report text using simple...
2011-01-11
779 reads
Watching videos?! Su-ure!
Week five and it seems like time is going by faster than I had expected it would. As...
2011-01-11
287 reads
In my invitation to T-SQL Tuesday #014, I picked the topic “Resolutions”, clearly to play on the new year. The...
2011-01-11
761 reads
Tis the calm before the storm. At least it feels like that. The invites have all been sent. The presenter lined up. Reminders have been sent and now we...
2011-01-11
11 reads
Tis the calm before the storm. At least it feels like that. The invites have all been sent. The presenter...
2011-01-11
474 reads
Last week Jonathan Kehayias (Blog|Twitter) used his blog to publicly call out Thomas LaRock (Blog|Twitter). I am not going to...
2011-01-11
683 reads
Is it just me or has the community done the whole “What are my goals for this year” thing to...
2011-01-11
658 reads
SQLBits, the largest SQL Server conference is Europe, will be held this April 7-9, 2011 in Brighton, England at the...
2011-01-10
563 reads
The recently resurrected DevTeach/SQLTeach event will be held May 31 through June 2, 2011 in Montreal, Canada at the Montreal...
2011-01-10
652 reads
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...
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