Article of the Week – Sanjay Mirsha (Data Compression)
Data Compression was introduced in SQL Server 2008. This feature helps compress data inside the database, thus potentially reducing the...
2009-11-10
722 reads
Data Compression was introduced in SQL Server 2008. This feature helps compress data inside the database, thus potentially reducing the...
2009-11-10
722 reads
Well if you attended PASS, you already know that I am changing jobs. I recently accepted a position with Pragmatic...
2009-11-09
673 reads
Meeting URL: Join Meeting
Click Here to Add to Outlook Calendar
Click the above Meeting URL around 11:00 AM CST on 10/12/2009...
2009-11-09
726 reads
My friend Trevor Barkhouse called me up a couple of nights ago and asked if I could host a Live...
2009-10-30
1,582 reads
If you haven’t had a chance to attend the SQL Lunch Live Meeting learning series then sign in Monday at...
2009-10-23
874 reads
I was recently contacted by a developer with what I would consider to be a very simple question. How do...
2009-10-21
2,702 reads
This past weekend I had the pleasure of not only attending, but speaking at SQL Saturday in Orlando, FL. When...
2009-10-19
859 reads
Most of you are aware that the Microsoft SQL Server 2000 Desktop Engine (MSDE) limits database size to 2 gigabytes. ...
2009-10-13
6,074 reads
Today’s SQL Lunch was a huge success, even though we experienced a few technical difficulties. Tim Mitchell spoke on Deploying...
2009-10-12
776 reads
Last night I presented, Monitoring Disk Space using CLR, to the Baton Rouge Area SQL Server User Group. There were...
2009-10-09
730 reads
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...
By Steve Jones
One of the things I’ve been requesting for a number of years is cost...
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