SQL Server 2012 adds the new system stored procedure sp_describe_first_result_set. I try it on a query and a view to see what metadata it returns.
SQL SERVER – Online Index Rebuilding Index Improvement in SQL Server 2012
Online index rebuilding with VARCHAR(MAX) or NVARCHAR(MAX) columns failed in SQL Server 2008. SQL Server 2012 changes that, and here is my test.
SQL SERVER – Difference between DATABASEPROPERTY and DATABASEPROPERTYEX
What is the difference between DATABASEPROPERTY and DATABASEPROPERTYEX? I asked on Facebook, and here are the best answers from readers.
Compound Assignment Operators in SQL Server: SQL in Sixty Seconds #009
Compound assignment operators such as += and *= combine an operation with an assignment in T-SQL. The tests here run all eight operators on SQL Server 2025, and show how NULL, integer division, overflow, truncation and precedence change the result.
SQL SERVER – Right Aligning Numerics in SQL Server Management Studio (SSMS)
Numbers in SSMS results are hard to read when they do not line up. Right aligning numerics takes one query option, and I show where to find it.
Loading Partitions in Parallel
Loading partitions in parallel uses separate staging tables, controlled workers, and partition switching to publish data without chaotic locks.
Getting Through a Technical Book You Actually Finish
Read a technical book with a practical question, small SQL experiments, and reusable notes that turn each useful chapter into working knowledge.
Plan Cache Key Lookups: Finding the Worst Ones With XQuery
Not every key lookup needs fixing. Rank statements by reads, find the lookups with XQuery, then test the smallest index change on one call.
MAXDOP 1 in SQL Server: SQL in Sixty Seconds #008
MAXDOP 1 requests serial execution for one SQL Server query. I measured four variants of one query on SQL Server 2025, and the serial plan was the slowest in elapsed time with about the same CPU. The post shows the settings behind the hint and how to read the degree of parallelism a query actually used.
Computed Column UDFs: Why Every Query on the Table Goes Serial
A computed column that calls a scalar function can block parallel plans for queries that never read it. Here is how to spot it and test a fix.










