DBA Team Structure – Thoughts From Real Life
I once talked about the DBA team building about 3 years ago, now when I look back, I still believe...
2011-11-20
3,345 reads
I once talked about the DBA team building about 3 years ago, now when I look back, I still believe...
2011-11-20
3,345 reads
I once wrote a post to find the largest tables in a database, and now after studying PowerShell, I feel...
2011-09-18
2,040 reads
I feel somehow sad today (Aug 31, 2011) to see one of my colleagues “laid-off”. I put quotation mark around...
2011-09-01
1,898 reads
As a DBA, we have a lot to work on and also we have a lot to learn about. The...
2011-08-20
1,403 reads
One of interesting tasks I once had is to check the # of code lines for all user stored procedures (SPs)...
2011-08-14
1,402 reads
In my company, every two years, we have a tradition to collectively ponder at the technology road map for the...
2011-08-13
2,340 reads
For almost all sql backup jobs, we want to have a step to delete old backup files older than a...
2011-08-06
4,536 reads
From time to time, I need to find the largest tables in terms of rows / used space / total space etc....
2010-09-28
33,205 reads
One of my test servers, due to the unexpected growth of a user db, the local drive is used up,...
2010-08-13
12,013 reads
Recently quite a few MVPs (here, here and here ) are handling out MSDN Ultimate subscriptions in the community. What interests...
2010-07-08
1,171 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