T-SQL Tuesday #025 – Holiday Gifts
Tis the Season
It is the season for TSQL Tuesday. More importantly it is the season for giving and reflection. And...
2011-12-15 (first published: 2011-12-13)
1,488 reads
Tis the Season
It is the season for TSQL Tuesday. More importantly it is the season for giving and reflection. And...
2011-12-15 (first published: 2011-12-13)
1,488 reads
Tis the Season It is the season for TSQL Tuesday. More importantly it is the season for giving and reflection. And whether you celebrate Christmas or Chanukkah or Kawanzaa...
2011-12-13
15 reads
Yay. I finally took the plunge and decided to take Exam 70-451. This is the MCITP exam for the SQL...
2011-12-07
606 reads
Yay. I finally took the plunge and decided to take Exam 70-451. This is the MCITP exam for the SQL 2008 Dev track. Frankly, I had taken my time with...
2011-12-07
12 reads
We are now only two days away from the biggest event of the week!!
More accurately though, it is the BIGGEST...
2011-12-06
659 reads
We are now only two days away from the biggest event of the week!! More accurately though, it is the BIGGEST event for the Las Vegas chapter of...
2011-12-06
8 reads
This is a good way to start monday, with a meme. This month Thomas LaRock has provided us with the...
2011-12-05
681 reads
This is a good way to start monday, with a meme. This month Thomas LaRock has provided us with the theme and his entry here. I thought of following...
2011-12-05
12 reads
Have you ever wanted or needed to get the data and log file size for all of the databases in...
2011-12-05
2,423 reads
Have you ever wanted or needed to get the data and log file size for all of the databases in your server? I have seen scripts that would get...
2011-12-05
28 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