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
Gouache painting of a xylophone with grey bars on the left and vermilion bars on the right, with a mallet beside it

max_column_id_used: How Many Columns a Table Once Had

July 29, 2021
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL DMV, SQL Scripts, SQL Table Operation

The max_column_id_used column shows how many columns a table ever had. See it grow, find tables that lost columns, and avoid treating column_id as a position.

Read More
A pea sheller with some pods processed and many pods still waiting

Query Progress: Watching a Running Plan With dm_exec_query_profiles

July 28, 2021
Pinal Dave
SQL Tips and Tricks
Execution Plan, Maintenance Plan, SQL Server

Elapsed time cannot tell you if a query is almost done. Live operator rows can. See how to read them and how far to trust the percentage.

Read More
query cost

Tuning Query Cost 100% – SQL in Sixty Seconds #181

July 27, 2021
Pinal Dave
SQL Video
Execution Plan, SQL in Sixty Seconds, SQL Scripts, SQL Server

After the blog posts, lots of people asked me to build a video so here is the video discussing the topic of Tuning Query Cost 100%.

Read More
Gouache painting of a row of measuring jugs at different levels with a fresh one filled through a vermilion funnel

UPDATEUSAGE and Space: What It Fixes and What It Does Not

July 26, 2021
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Scripts, SQL Server DBCC

UPDATEUSAGE and space are two jobs: the command corrects page and row counts but frees no space. See a test where it finds nothing and a rebuild shrinks the table.

Read More
Gouache painting of a seesaw weighed down by one huge orange pumpkin at one end, with a tiny pumpkin raised at the other

Cost Relative to the Batch: Why One Query Shows 100%

July 23, 2021
Pinal Dave
SQL Performance
Execution Plan, SQL Scripts, SQL Server

Cost relative to the batch is a share of estimated cost. See why one query shows 100% and when the percent points at the wrong statement.

Read More
Announcing First Live

Experience – My Very First YouTube Live

July 22, 2021
Pinal Dave
SQL Tips and Tricks
SQL Server, YouTube Live

My very first YouTube Live started with a microphone problem. Here is my honest look at what went well, what I must improve, and the topics we covered.

Read More
A standard collar fitting remains separate from vessel-specific inspection tools.

SQL SERVER – Legal CASE Defaults and Row Dependent Values

July 21, 2021
Pinal Dave
SQL Tips and Tricks
SQL CASE, SQL Scripts, SQL Server, SQL Table Operation

A CASE Expression can appear in a default, but cannot reference another row column there. My earlier blanket prohibition was incorrect.

Read More
Previous 1 … 58 59 60 61 62 63 64 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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