Kicking Off The New Year With A Bang
Back in 2015, I said would think about speaking in my #TSQL2sday #61 post. Well here it is 2018 and...
2018-01-03
390 reads
Back in 2015, I said would think about speaking in my #TSQL2sday #61 post. Well here it is 2018 and...
2018-01-03
390 reads
Writing infrastructure as code is pretty nice and I enjoy the declarative approach of defining what you want and letting...
2018-01-03 (first published: 2017-12-13)
1,293 reads
Have you ever wanted to have two different queries open up at the same time where you could see them,...
2018-01-03
336 reads
I have been working on a new information session, which I’m hoping to deliver this year. It’s about one of...
2018-01-03
314 reads
I have a twitter poll running asking "What is the oldest version of SQL Server you are running?", to use...
2018-01-03
430 reads
Happy New Year! My New Year's resolution for 2018 is to help you become a better SQL developer.
I want to start off with that today by showing you a...
2018-01-02
20 reads
So I’ve spoken to more than one DBA who is not familiar with using the command prompt (aka command line)...
2018-01-02
403 reads
A while back you may have caught my blog post introducing the Power BI Chat Bot 9000. Since posting that...
2018-01-02 (first published: 2017-12-12)
1,344 reads
This is part 1 of 2 part series on taking smart backups. Part 1 will be taking smart transaction logs...
2018-01-02
192 reads
It’s a new year, and if you read my post almost 2 week’s ago, you know that I’ve already started...
2018-01-02
878 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
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