FOR JSON Clause With PATH Mode In SQL Server 2016
In previous blog we learnt about changing query format using JSON clause with AUTO mode option. In this blog we...
2015-07-02
394 reads
In previous blog we learnt about changing query format using JSON clause with AUTO mode option. In this blog we...
2015-07-02
394 reads
Please join me at the PASS Global Summit in Seattle for a half-day, 3-hour hands-on Power BI mini workshop. Bring...
2015-07-02
266 reads
Please join me at the PASS Global Summit in Seattle for a half-day, 3-hour hands-on Power BI mini workshop. Bring...
2015-07-02
2,067 reads
In the previous article on this topic (which can be read here), I discussed the problem of having a database get dropped and the need to find out who dropped...
2015-07-01
32 reads
In the previous article on this topic (which can be read here), I discussed the problem of having a database get...
2015-07-06 (first published: 2015-07-01)
2,081 reads
Today I received an email notifying me that I have been awarded the Microsoft “MVP” award for my second year....
2015-07-01
1,240 reads
How to Grant limited permissions to create views in another schema?
In SQL Server 2005 and 2008R2 you can grant permissions...
2015-07-08 (first published: 2015-07-01)
3,275 reads
Ran into this issue today. A subscription that had been working failed. Looking at it in the RS portal it...
2015-07-01
9,788 reads
Polyglot Persistence is a fancy term to mean that when storing data, it is best to use multiple data storage technologies,...
2015-07-01
1,368 reads
Reading Time: 2 minutesSeattle, here we come! I am excited, and honored that it is...
The post Speaking at PASS Summit...
2015-07-01
409 reads
By SQLPals
How to Clear the SSMS Cache (SSMS 21 and Later) Updated...
By Arun Sirpal
“What exactly did it do on my server?” is the first question a DBA...
By James Serra
Microsoft shared a broad set of Fabric, Power BI, and SQL updates at FabCon...
Comments posted to this topic are about the item Let's Talk Certifications
Comments posted to this topic are about the item The Hidden Security Risks of...
Comments posted to this topic are about the item The Empty Aggregate
I have this table in a SQL Server 2025 database:
CREATE TABLE [dbo].[CustomerOrder] ( [OrderID] [int] NULL, [CustomerID] [int] NULL, [total] [money] NULL ) ON [PRIMARY] GOWhat is returned from this code? (answers are for the sum and then the count)
SELECT SUM(total) AS sum,
COUNT(total) AS count
FROM dbo.CustomerOrder;
See possible answers