SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Bert Wagner

Bert Wagner is a Business Intelligence Developer at Progressive Insurance. He enjoys solving challenging data transformations with T-SQL and optimizing for query performance. In addition to BI development, Bert loves building ASP.NET MVC web apps and building Internet of Things projects.

Archives: December 2017

SQL and NOT SQL: Best of 2017

Photo by Rick Meyers on Unsplash

With only a few days left in 2017, I thought it would be fun to do a year in review post.  Below you’ll find some of my top 5 favorites in a variety of SQL and non-SQL related categories.  Hope you enjoy and I’ll… Read more

0 comments, 409 reads

Posted in Bert Wagner on 26 December 2017

How To Create Multi-Object JSON Arrays in SQL Server

Recently I was discussing with Peter Saverman whether it would be possible to take some database tables that look like this:

And output them so that the Cars and Toys data would map to a multi-object JSON array like so:

Prefer visuals instead of text?  You can watch this week’s… Read more

0 comments, 1,239 reads

Posted in Bert Wagner on 19 December 2017

Reducing the Number of Reads in Your Queries

“A-Bridged” – reducing reads – get it?  I’m sorry you’re reading this.  Photo by Jamie Street on Unsplash

In last week’s post, we went over how one of best ways to improve query performance was to reduce the number of reads that your query has to do.

Less reads typically… Read more

0 comments, 199 reads

Posted in Bert Wagner on 12 December 2017

Learning Through Blogging and Speaking

This post is a response to this month’s T-SQL Tuesday prompt created by Mala Mahadevan. T-SQL Tuesday was created by Adam Machanic and is a way for SQL users to share ideas about interesting topics. This month’s topic is Setting Learning Goals for 2018.

Prefer watching instead of… Read more

0 comments, 155 reads

Posted in Bert Wagner on 12 December 2017

How to use Statistics IO to Improve Your Query Performance

SQL Server’s STATISTICS IO reporting is a great tool to help you performance tune queries.
Usually the goal of performance tuning is to make your query run faster.  One of the easiest ways to get a faster query is to reduce the amount of data a query is processing.  STATISTICS…

Read more

2 comments, 220 reads

Posted in Bert Wagner on 5 December 2017