Live Query Statistics In SQL Server 2016 CTP 2.0
Hi friends, today we will learn another new feature Live Query Statistics which gets introduced in SQL Server 2016. It’s...
2015-07-14
704 reads
Hi friends, today we will learn another new feature Live Query Statistics which gets introduced in SQL Server 2016. It’s...
2015-07-14
704 reads
In release of SQL Server 2016 CTP 2.0 another new feature that is released is Dynamic Data Masking. Using Dynamic...
2015-07-09
608 reads
Hi friends, we will continue with FOR JSON clause in this blog and today we will learn formatting of query...
2015-07-06
375 reads
Hi folks, Today we learn how to format query using FOR JSON clause with INCLUDE_NULL_VALUES option in SQL Server 2016....
2015-07-03
349 reads
In previous blog we learnt about changing query format using JSON clause with AUTO mode option. In this blog we...
2015-07-02
390 reads
Hi friends, in release of SQL Server 2016 CTP2 one of the feature that introduced is JSON clause. So first...
2015-06-30
903 reads
Hi friends, today we will discuss about new performance monitoring system Extended Events which gets introduced in version SQL Server...
2015-06-27
767 reads
Hi friends, in this blog of SQL Server database mail stored procedure we will continue with another database mail stored...
2015-06-15
408 reads
Hi friends, in this blog of SQL Server Database mail stored procedure we will continue with another database mail procedure sysmail_add_principalprofile_sp....
2015-06-13
491 reads
Hi folks, in our previous blog of SQL Server Database Mail stored procedure we added database mail account to database...
2015-06-08
415 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