My favourite books
As I mentioned in the blog post Speaking at SQL Server Days 2015, I’ll be giving a session at the...
2015-08-04
633 reads
As I mentioned in the blog post Speaking at SQL Server Days 2015, I’ll be giving a session at the...
2015-08-04
633 reads
This great book by Ricardo Semler is something that some of my friends have been recommending me to read for...
2015-08-04
426 reads
Newest update to the script to help discover and track object sizes within a database.
Related Posts:
Refresh SQL Modules November 9, 2018
Drop That Schema October 27, 2017
An Experiment...
2015-08-04
12 reads
As was recently promised, I have an update to an old tried and true script for calculating the size of...
2015-08-04
1,067 reads
SQL Server 2014 introduced a major feature called "In Memory - Hekaton" Tables, in which even the fundamental concepts of SQL...
2015-08-04
1,096 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2015-08-03
4,189 reads
I ran into a question recently about how to clear out a database of all objects. I assume someone was...
2015-08-03
1,258 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2015-08-03
741 reads
Hi friends, in our day to day work we used SELECT…INTO clause to create replica of a table for different...
2015-08-03
674 reads
It’s (finally) time for Monday’s weekly blog and twitter round-up for last week (it’s even on time). This post is...
2015-08-03
602 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