An introduction to CUME_DIST, a new analytic function in SQL Server 2012 that returns the cumulative distribution of a value, with an example.
Checking Data Compression Settings on Every Table and Index
A table is not simply compressed or not. Here is how to read the setting for each index and partition, and the mistake that leaves indexes full size.
SQL SERVER – Updating Data in A Columnstore Index
A reader got an error when updating data in a columnstore index table. Here is why the table becomes read-only and what you can do about it.
SQL SERVER – SSMS 2012 Reset Keyboard Shortcuts to Default
Someone changed the keyboard shortcuts in my SSMS 2012 at a conference. Here is how to reset keyboard shortcuts back to the default settings.
Splitting Work Into Equal-Sized Batches With NTILE
NTILE deals 100 customers into eight batches in one query. The catch is keeping those batches stable while new rows arrive.
How to Read a Stored Procedure You Did Not Write
Learn to read stored procedure code by tracing inputs, writes, transactions, errors, and dependencies before trying to understand every line.
Interview Questions That Actually Reveal SQL Skill
Use SQL Server interview questions that reveal reasoning about joins, NULLs, performance, and recovery instead of rewarding memorised trivia.
CODEPAGE 65001: Importing UTF-8 Text Files Without Garbled Accents
Your import turned Élodie into odd symbols. Here is how CODEPAGE 65001 fixes the reading, and why the column type still matters.
Temp Table Caching: Why Some Temp Tables Get Reused
Understand temp table caching in stored procedures, avoid cache blockers, inspect creation counters, and review retained statistics.
Relational, Document, Graph and Vector: Choosing the Right Data Model
Choosing the Right Data Model means matching the shape of your data to the questions you ask. This post stores one bookshop four ways in SQL Server 2025, with relational tables, JSON documents, graph tables and a vector column, and runs the question each one answers best. It ends with a rule for choosing.










