Why UniqueIdentifier is a Bad Choice for a Clustered Index in SQL Server
I had a question today about why it was “bad” to use a UniqueIdentifier as the data type for a...
I had a question today about why it was “bad” to use a UniqueIdentifier as the data type for a...
This article describes how to Evaluate Policies on Multiple Instances using EPM and PowerShell.
Spatial support is coming to SQL Azure soon, and Steve Jones thinks about how the service could improve this support.
I've been using the scripting tools in SSIS for some time, but I came across something today that I can't...
Determining which columns to select for your indexes is critical. Having a little knowledge of how your application is using your database columns and how SQL Server processes indexes helps you make good decisions when you create your indexes.
A guest editorial from Rodney Landrum looks at how we get advice from others in the wild, wild world of the Internet.
In the fourth installment that looks at T-SQL changes for SQL Server 2008, Ashad Ali examines how the Filestream data type works.
Part II or the Oracle / SQL Server comparison dives deeper into databases by exploring the architectural differences.
I was reading through the latest XML Workshop article that I have from Jacob Sebastian. It’s a fantastic series for...
What happens when you burnout? Would you recognize when it happens? A guest editorial from Andy Warren talks about some of the signs and what you can do.
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