Find out how to use dynamic SQL to quickly generate metadata queries to pull attributes for all columns across a database or even a set of databases.
Forced Parameterization can be a useful setting to tune workloads, but this can work against you if you're also using filtered indexes.
Give your Docker container port numbers meaning to avoid confusion, especially when presenting or giving demos.
Originally published in 2009, I updated this in 2019 with an example showing an effect on the plan cache.
Aaron shares his slides and demos from his most recent delivery of T-SQL : Bad Habits and Best Practices.
Read about the improvements in the latest version of SentryOne Plan Explorer, 19.1.2.
Did you know that not all characters can be used as the separator for STRING_SPLIT?
Read about an approach to partitioning a result set without the performance impact of NTILE.
Find out what's in the SentryOne Plan Explorer extension for Azure Data Studio.
See how to work around the lack of an ALTER TYPE command.
Discover some of the new information SQL Server keeps adding to help us troubleshoot query plans.
One of the biggest downsides of using SQL Server Management Studio as an interactive query tool is the limit on text/grid output. SSMS 18.2 fixes that!
In this tip, you'll see the metadata queries that will make it possible to discover which integer-based columns could be made smaller (without any loss of data).
Aaron Bertrand explains four conventions he always follows when writing T-SQL queries.
See how you can use new functions like DATEFROMPARTS to simplify otherwise really cryptic methods to obtain key dates (like the first day of the current month).
Get a first-hand look at some of the ways NOLOCK can produce incorrect data.
Learning Pathways are a new, innovative way to take advantage of the sessions offered at PASS Summit.
Aaron Bertrand shares his slides and demos from his presentations at SQLDay in Wrocław, Poland.
Aaron Bertrand talks about a few of the things that he wished he had learned earlier on.
Aaron Bertrand announces that he is among the handful of community members in the inaugural group of official bloggers at PASS Summit 2019.
This tip shows how powerful the CASE expression is, and some of the nuances in its behavior.