One of the common task that I have come across is the need to convert a list of results into a comma separated list.  There are many ways to use this, one if which is in reports. Download the AsCSV.sql sample here. Often times I have told developers, here is how you do it, and if you Google on it …

Converting part of a result set to a comma separated list Read more »

One handy thing when working with JSON or XML is to take part of the data and represent it as tabular data, since everything in SQL Server works better as a table, pulling values out and representing them as a table can be handy. Going back to our original data as shown below from my original blog post that kicked …

Iterating over JSON and XML values Read more »

I have decided that for the month of July I will post 31 blog entries for the month about JSON and XML. Every post will contain something that compares and contrasts or explains something about JSON and XML in SQL Server. I found my self the other day saying that I have used XML plenty on SQL Server, but haven’t …

July is JSON and XML month Read more »

On a week long theme on XML and JSON in SQL Server, this is the second post. After the first post of just showing how to store these values in the database I am going to take a look at how big the data is and how much we can compress each one with row and page level compression. Lets …

SQL 2019 Page and Row Compression with XML and JSON Read more »

This post is the first in a series of blog posts around using XML and JSON in SQL Server. XML has been supported, although slightly clunky since SQL Server 2005, and it has not changed much. Later versions of SQL Server introduce some JSON parsing which is different from how XML is represented in that JSON data is just stored …

JSON and XML in SQL Server Read more »

Today I had the opportunity to complete and launch the February 2017 version of Database Health Monitor. I hope you like the latest version. Here are the Release Notes: Version 2.5 Release Notes – February 2017. Version 2.5 is the February 2017 release of Database Health Monitor, released on February 19, 2017. What People Are Saying About Database Health Monitor …

February 2017 Release of Database Health Monitor Read more »

One of the common task that I have come across is the need to convert a list of results into a comma separated list.  There are many ways to use this, one if which is in reports. Download the AsCSV.sql sample here. Often times I have told developers, here is how you do it, and if you Google on it …

Converting part of a result set to a comma separated list Read more »