Approaches to deploying Sql Server database code
When you deploy your Sql Server code, there are two approaches, there is the manual way and the automated “compare...
2015-04-27
71 reads
When you deploy your Sql Server code, there are two approaches, there is the manual way and the automated “compare...
2015-04-27
71 reads
When you deploy your Sql Server code, there are two approaches, there is the manual way and the automated “compare...
2015-04-27
61 reads
BIML, you either love it or hate it - either you use it to totally generate hundreds of packages or a bucket load of data flow components all at...
2015-04-27
6 reads
BIML, you either love it or hate it - either you use it to totally generate hundreds of packages or a...
2015-04-27
48 reads
BIML, you either love it or hate it - either you use it to totally generate hundreds of packages or a...
2015-04-27
45 reads
I had the honour of talking at the excellent Sql Saturday Exeter this morning and wanted to share my slides and say thanks to the organisers, sponsors and everyone...
2015-04-25
3 reads
I had the honour of talking at the excellent Sql Saturday Exeter this morning and wanted to share my slides...
2015-04-25
452 reads
I had the honour of talking at the excellent Sql Saturday Exeter this morning and wanted to share my slides...
2015-04-25
35 reads
I had the honour of talking at the excellent Sql Saturday Exeter this morning and wanted to share my slides...
2015-04-25
43 reads
It is sometimes useful to be able to use sqlpackage.exe to create a script that can be deployed manually or still automatically but at a later date plus you...
2015-04-21
8 reads
By Steve Jones
I type fairly well. Well, I type fast, but I do wear out a...
By way of background, a while back I did video called “My New Favourite...
By ReviewMyDB
Index maintenance has always meant nightly jobs and a window you have to defend....
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