T-SQL Tuesday #028 – Jack of All Trades, Master of None?
Another month and another opportunity to write about an interesting topic. This month hosting TSQL Tuesday is Argenis Fernandez (Blog...
2012-03-13
872 reads
Another month and another opportunity to write about an interesting topic. This month hosting TSQL Tuesday is Argenis Fernandez (Blog...
2012-03-13
872 reads
Another month and another opportunity to write about an interesting topic. This month hosting TSQL Tuesday is Argenis Fernandez (Blog | Twitter). This month, Argenis has invited us to...
2012-03-13
8 reads
If I were to show you the tabs in the following pic without a description, would you recognize the websites...
2012-03-08
797 reads
If I were to show you the tabs in the following pic without a description, would you recognize the websites to which they belong? I would dare say that...
2012-03-08
8 reads
Today I get to share something that has been on my someday list for quite some time. I have planned...
2012-03-07
2,143 reads
Today I get to share something that has been on my someday list for quite some time. I have planned on getting a solution that involves TSQL to help...
2012-03-07
18 reads
Today, I am following up on a topic I mentioned in an earlier post. In case you haven’t read the...
2012-03-06
686 reads
Today, I am following up on a topic I mentioned in an earlier post. In case you haven’t read the post on finding your linked servers, you can read...
2012-03-06
6 reads
Today is Meme Monday. Today we get to talk about all of the little things a DBA does. Thomas LaRock...
2012-03-05
787 reads
Today is Meme Monday. Today we get to talk about all of the little things a DBA does. Thomas LaRock started things off with his list – here. I...
2012-03-05
13 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