Adding Objects to our SCA Project
In my last post, I started out with a new SCA project, getting a connection to my database up and...
2019-03-08 (first published: 2019-02-13)
2,690 reads
In my last post, I started out with a new SCA project, getting a connection to my database up and...
2019-03-08 (first published: 2019-02-13)
2,690 reads
A few months ago I suggested that the following settings should be the default for most SQL Server instances: Set...
2019-02-13
202 reads
I am very excited and lucky to be speaking at my very first international conference, SQLBits. SQLBits, the largest SQL...
2019-02-13
192 reads
In Partitioning 1, my query searched through all 1-12 partitions. Let’s see if we can reduce that number.
Adding the partitioning...
2019-02-13
1,707 reads
Checking out the transaction log in Azure SQL Database. If you are curious like me, you will want to know...
2019-02-13
190 reads
I recently wanted a script to tell me that for every database on a given server
What levels of backups I...
2019-02-28 (first published: 2019-02-13)
3,338 reads
Shrink log file for log_reuse_wait_desc =...
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]
2019-02-13
19 reads
Shrink log file for log_reuse_wait_desc =...
[[ This is a content summary only. Visit my website for full links, other content, and more!...
2019-02-13
132 reads
Demo time – last preps!
SQL Saturday started on Friday with three preconfs. Kevin Boles, Tomasz Cieplak, Tomasz Libera & Grzegorz Stolecki did...
2019-02-13
149 reads
This month for T-SQL Tuesday we are asked to describe our “Why”. I have a couple of Whys not related...
2019-02-12
681 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