Unexpected result with the File System Task
Recently I ran across a forum thread where someone encountered an unexpected result when creating a directory using the File...
2013-10-09
640 reads
Recently I ran across a forum thread where someone encountered an unexpected result when creating a directory using the File...
2013-10-09
640 reads
After over 6 months of silence, it is time again for another Stupid me™®©! For those unfamiliar with the concept:
Every...
2013-10-01
645 reads
After over 6 months of silence, it is time again for another Stupid me™®©! For those unfamiliar with the concept:
Every...
2013-10-01
364 reads
It’s the second Tuesday of the month, and you know what time it is! That’s right, another installment of T-SQL...
2013-09-10
439 reads
It’s the second Tuesday of the month, and you know what time it is! That’s right, another installment of T-SQL...
2013-09-10
797 reads
With the release of the revamped Integration Services in SQL Server 2012, a bunch of new deployment methods were introduced...
2013-08-21
7,736 reads
This article describes different methods for deploying your SSIS projects to a server.
2013-08-15
10,081 reads
The site connect.microsoft.com is a wonderful concept: you can provide feedback about the Microsoft products, report bugs and give suggestions...
2013-07-29
711 reads
2013-07-19
2,690 reads
To prepare myself for my session Data Visualization Tips & Tricks, I read a few books. In this blog post, I’ll...
2013-07-16
1,099 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