Great News! SSMS Tools Pack 1.9 is Coming Out!
Mladen Prajdic recently announced that the newest version of SSMS Tools Pack is coming out and I am excited.Continue reading ?
The post Great News! SSMS Tools Pack 1.9 is...
2010-08-20
5 reads
Mladen Prajdic recently announced that the newest version of SSMS Tools Pack is coming out and I am excited.Continue reading ?
The post Great News! SSMS Tools Pack 1.9 is...
2010-08-20
5 reads
I recently finished taking down a bunch of servers that I was using to scale out my environment by forcing...
2010-07-16
517 reads
This script takes a distribution server name and an output directory as parameters then works through all publications on each of the servers that connects to the distribution server,...
2010-07-16
53 reads
This script takes a distribution server name and an output directory as parameters then works through all publications on each of the servers that connects to the distribution server,...
2010-07-16
8 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,001 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
199 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
8 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
999 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
20 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
6 reads
By Steve Jones
I type fairly well. Well, I type fast, but I do wear out a...
By ReviewMyDB
Index maintenance has always meant nightly jobs and a window you have to defend....
I’m sure you’ve all heard the tale of Goldilocks and the Three Bears, but...
Comments posted to this topic are about the item SQL Art, Part 4: Happy...
Comments posted to this topic are about the item How We Handled a Vendor...
Comments posted to this topic are about the item Cognitive Coverage
I have this data in the dbo.Commission table in a SQL Server 2022 database.
salesperson commission Brian 12 Brian 16 Andy 7 Andy 14 Andy 21 Steve 20 Steve NULLAll the data is a varchar, and I decide to run this query to get the totals for each salesperson.
SELECT SalesPerson
, AVG(TRY_PARSE(Commission AS int)) AS TotalCommission
FROM commission
GROUP BY SalesPerson
GO
What average commission is calculated for Steve? See possible answers