Daily Coping 12 Dec 2022
Today’s coping tip is to look at life through someone else’s eyes and see their perspective. I have my own views, beliefs, and thoughts about the world. However, I...
2022-12-12
12 reads
Today’s coping tip is to look at life through someone else’s eyes and see their perspective. I have my own views, beliefs, and thoughts about the world. However, I...
2022-12-12
12 reads
The title of this blog post is a bit misleading, because what we actually want to do is to install the SSIS development functionality in Visual Studio 2022. SSAS...
2022-12-12 (first published: 2022-11-25)
951 reads
SQL Server has had the native ability to encrypt data since SQL Server 2005. This included functionality that could be used to encrypt individual items and columns of data...
2022-12-12
145 reads
Making multilingual reports in Power BI requires a lot of different elements. Translations can be added to PBIX files to translate column names, visual titles, etc. but these translations...
2022-12-12 (first published: 2022-11-30)
212 reads
Today’s coping tip is to find out something new about someone you care about. I took the time to do this at the recent PASS Summit. During events like...
2022-12-09
16 reads
Last Updated on January 24, 2023 by John Morehouse © 2022 – 2023, John Morehouse. All rights reserved.
The post Hot Adding CPU to SQL Server first appeared on John...
2022-12-09
72 reads
We all (should) know that running SQL Server in hyperconverged virtual environments, both on-premises and in the cloud, has some interesting trade-offs. The biggest is write latency from the...
2022-12-09 (first published: 2022-11-25)
686 reads
We have some data we can query using the serverless SQL pools in Azure Synapse Analytics. For this blog post, I’m querying data that is stored in Azure Cosmos...
2022-12-09 (first published: 2022-11-23)
259 reads
I’ve republished an editorial today from another author, called What do you do to relax after work? I’m thinking about that a few weeks ahead, because I needed to...
2022-12-09
29 reads
One of my favorite parts of having a new job is that I learn a ton. (No really, my brain ... Continue reading
2022-12-08
186 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...
WA:08218154393 Jl. Jenderal Ahmad Yani No.1, Benua Melayu Darat, Kec. Pontianak Sel., Kota Pontianak,...
WA:08218154393 Jl. Jenderal Sudirman No.139, Klandasan Ilir, Kec. Balikpapan Kota, Kota Balikpapan, Kalimantan Timur...
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