What is an Easy Way to Return Results from a CLR Stored Procedure?
Introduction
What is an Easy Way to Return Results from a CLR Stored Procedure? The question sounds simple enough but yet...
2010-07-07
1,009 reads
Introduction
What is an Easy Way to Return Results from a CLR Stored Procedure? The question sounds simple enough but yet...
2010-07-07
1,009 reads
This post describes a helper class that I came up with to handle returning values from a CLR stored procedure. Continue reading ?
2010-07-07
205 reads
This post describes a helper class that I came up with to handle returning values from a CLR stored procedure. Continue reading ?
The post What is an Easy Way...
2010-07-07
20 reads
Introduction
A while back I had a developer come to me complaining that every time they ran a large delete statement...
2010-06-01
1,004 reads
A while back I had a developer come to me complaining that every time they ran a large delete statement on a certain database the delete would fail with...
2010-06-01
32 reads
A while back I had a developer come to me complaining that every time they ran a large delete statement on a certain database the delete would fail with...
2010-06-01
12 reads
Introduction
Today’s script is one that I wrote based on the logic outlined in this post by Paul Randal (Blog|Twitter). This...
2010-05-21
570 reads
Today's script is one that I wrote based on the logic outlined in a post by Paul Randal. This script is written for SQL 2000 but, as Paul notes,...
2010-05-21
29 reads
Today's script is one that I wrote based on the logic outlined in a post by Paul Randal. This script is written for SQL 2000 but, as Paul notes,...
2010-05-21
16 reads
Paul Randal (Blog|Twitter) recently kicked off this meme by listing the 5 things he thinks SQL Server should get rid of....
2010-05-20
936 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