This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
A market stall of identical brown paper bags, a hand opening them one by one to find what is inside.

Entity-Attribute-Value Tables: Why They Hurt Queries

May 8, 2020
Pinal Dave
SQL Tips and Tricks
JSON, Normalization, Schema, SPARSE Columns, SQL Server

Understand entity-attribute-value query costs, lost types, indexing limits, and alternatives using real columns, sparse columns, or JSON.

Read More
A toast rack on a breakfast table, some slots holding toast and some empty, beside a small jar of marmalade.

How Much Space Does a NULL Take? NULL Storage in Rows

December 23, 2019
Pinal Dave
SQL Tips and Tricks
Compression, SPARSE Columns, SQL Data Storage, SQL NULL, SQL Server

Measure NULL storage in ordinary rows, compare fixed and variable columns, inspect record size, and test sparse and compressed designs.

Read More
Shaped bottle brushes matching the necks and bodies of two glass bottles

Documenting Computed Columns: Definitions, Persistence and Determinism

July 15, 2017
Pinal Dave
SQL Tips and Tricks
Computed Column, SPARSE Columns, SQL Server

A column that says decimal(21,2) hides how it gets its value. Pull the formula, persistence, precision and index use from the catalog, and script it so it can be rebuilt.

Read More
SQL Server sp_spaceused window.

SQL SERVER – Puzzle – Why does sp_spaceused Show No Values?

February 8, 2017
Pinal Dave
SQL Puzzle
SPARSE Columns, SQL Scripts, SQL Server

Why does sp_spaceused show no values for a table that clearly has rows? It stumped me for 10 minutes. Here is the puzzle, try it before reading on.

Read More
SQL SERVER - Performance Benefit of Using SPARSE Columns?

SQL SERVER – Performance Benefit of Using SPARSE Columns?

October 11, 2016
Pinal Dave
SQL Tips and Tricks
SPARSE Columns, SQL Server

What is the performance benefit of using SPARSE columns? From a SaaS consulting assignment, here are the considerations I shared with the developers.

Read More
SQL SERVER - Inserting into Sparse Column Sets and Errors Associated With It

SQL SERVER – Inserting into Sparse Column Sets and Errors Associated With It

July 27, 2015
Pinal Dave
SQL Tips and Tricks
SPARSE Columns, SQL Scripts

You can write to sparse column sets directly, not just read them. I show how to insert into column sets and the errors you hit without an explicit column list.

Read More
SQL SERVER - Errors and Limitations of Working with SPARSE Columns in SQL Server

SQL SERVER – Errors and Limitations of Working with SPARSE Columns in SQL Server

June 2, 2015
Pinal Dave
SQL Tips and Tricks
SPARSE Columns, SQL Error Messages

What is the catch with SPARSE columns? After a question at SQLBangalore UG, here are the errors and limitations of working with SPARSE columns.

Read More
1 2 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com