How Many Bytes Per Character in SQL Server: a Completely Complete Guide

A Completely Complete Guide to how many bytes are used to represent characters in the T-SQL string datatypes

Feature Restrictions in SQL Server 2019 are Worse Than Useless: a False Sense of Security And Wasted Opportunity

A misguided attempt to improve security that not only increases the chances of SQL Injection, but also prevented useful changes from being made.

Unicode Escape Sequences Across Various Languages and Platforms (including Supplementary Characters)

Unicode escape sequences across various languages and platforms (including Supplementary Characters), with working examples

Specific String Pattern Magically Hidden From Step Output in SQL Agent History

Specific String Pattern Magically Hidden From Step Output in SQL Agent History. Who Knew?

Maximum Number of Rows for the Table Value Constructor

What is the maximum number of rows for the Table Value Constructor? And, do different uses of it behave differently?

Can a Certificate’s Private Key be Imported / Restored From a Binary Literal / Hex Bytes ?

Can a Certificate's Private Key be Restored From a Binary Literal / Hex Bytes? The Documentation Says, "No". What Does SQL Server Say?

Uppercase All String Columns (and in a Single Query!)

Have you ever wanted to uppercase all string columns in a database? Probably not. But, this was still an interesting exercise 🙃

Differences Between the Various Binary Collations (Cultures, Versions, and BIN vs BIN2)

Come explore the actual differences between the seemingly not-so-different binary collations...

What Does the Undocumented UNCOMPRESS Function Do?

Ever notice how IntelliSense in SSMS lists functions that don't work or aren't documented? Here's documentation for one that works: UNCOMPRESS

How Does DBCC CHECKIDENT Really Work When Resetting the Identity Seed (RESEED)?

Does resetting an Identity Seed to a specific value via DBCC CHECKIDENT(..., RESEED, new_seed_value) work the way the documentation states? It depends 🙃