My SQLSat54 Experience
In case you hadn’t heard SQLSaturday #54 was Oct 23 in Salt Lake City. It was a dreary opening to...
2010-10-25
1,126 reads
In case you hadn’t heard SQLSaturday #54 was Oct 23 in Salt Lake City. It was a dreary opening to...
2010-10-25
1,126 reads
Time for the ghouls and goblins to come out of the woodwork once again for another tale of deception and...
2010-10-12
1,432 reads
If you truncate a table, you cannot undo the action like you can with a delete. What is the difference between the two methods to remove data from a...
2010-10-12
9 reads
Holy Cow, another month has flown by without much of a hint. We now have upon us another TSQL Tuesday....
2010-10-07
645 reads
This has been on my radar now for a little over a week. I ran across a request in the...
2010-10-05
759 reads
It is amazing how fast time moves the older (and slower) we as humans get. Looking back on time, it...
2010-10-03
628 reads
After having read the Percy Jackson series of books, I wanted to read a few more books by Rick Riordan....
2010-10-02
481 reads
Wow, I have really been kinda slow in the blog department for a couple of weeks now. I have a...
2010-10-01
596 reads
Woohoo – chugga chugga chugga chugga – woo woo. The train is pulling into town once again for another installment in the...
2010-09-15
1,761 reads
It is hard to believe that time is flying like it is. Already it has been a month since I...
2010-09-08
528 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