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 small scoop holds a sample in front of a broad full tray

How to Find Table Cardinality from the Execution Plan? – Interview Question of the Week #213

February 17, 2019
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Statistics

How to find table cardinality from the execution plan? I answer this health check question in two different ways, using a simple AdventureWorks query.

Read More
Four sorting channels deliver different-sized walnut heaps into separate compartments

Does Parallel Threads Process Equal Rows? – Interview Question of the Week #211

February 3, 2019
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, Parallel, SQL Scripts, SQL Server, SQL Statistics

Do parallel threads process equal rows? Usually no, and a simple AdventureWorks query with its actual execution plan proves it in a few seconds.

Read More
A hand turning a heap of inside-out children's clothes right side out one by one to find a red jumper.

Implicit Conversions That Quietly Turn Seeks Into Scans

January 18, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Datatype, SQL Index, SQL Performance

Find implicit conversions in SQL Server plans, compare parameter and column types, and fix type contracts without losing Unicode data.

Read More
Two ski tracks leaving the same spot on a snowy hill, one in easy turns, one ending in a scuffed hollow by a red ski pole

Finding the Plan That Changed: Query Store Plan History

January 7, 2019
Pinal Dave
SQL Performance
Execution Plan, Maintenance Plan, Query Store

Read Query Store plan history, compare duration by interval, find plan changes, and review a temporary force with an exit plan.

Read More
A lamplit wooden pier at dusk whose newly built far end extends past the last lamp into darkness.

The Ascending Key Problem: Estimates for Today’s New Rows

December 25, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Statistics

Diagnose ascending key estimates with histogram boundaries, modification counts, and controlled comparisons before updating statistics.

Read More
Performing IF...THEN In T-SQL With IIF Expression.

SQL SERVER – Performing IF…THEN In T-SQL With IIF Expression

December 24, 2018
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Performance, SQL Scripts, SQL Server

IIF is one of the most underused SQL Server features. Here is how to perform IF…THEN logic in T-SQL with IIF Expression, and why people still prefer CASE.

Read More
A laden plum tree with a tiny bowl at its foot and a large red crate beside it.

Multi-Statement Table-Valued Functions and Interleaved Execution

November 21, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Function, SQL Performance, SQL Server 2017

See how interleaved execution corrects estimates for multi-statement table-valued functions and when an inline rewrite wins.

Read More
Previous 1 … 15 16 17 18 19 20 21 … 30 Next
  • Books
  • Testimonials
  • Privacy Policy

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