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
Two pies cooling on a board, one with a solid crust and one with a lattice showing the filling

Inline Table-Valued Functions: Parameterized Views That Stay Fast

September 22, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Function, SQL Performance, SQL Server, SQL View

Compare inline table-valued functions with scalar functions, preserve customer results, and inspect plans before claiming performance gains.

Read More
Execution plan size and type.

SQL SERVER – Execution Plan Ignores Tabs, Spaces and Comments

July 14, 2018
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Scripts, SQL Server, SQL Stored Procedure

Many teams skip comments in stored procedures, fearing bigger execution plans. My demo shows SQL Server ignores tabs, spaces and comments when it builds a plan.

Read More
Execution plan of a query with a single row and single table.

SQL SERVER – Puzzle – Why Such a Complicated Execution Plan for a Single Row, Single Table Query?

July 13, 2018
Pinal Dave
SQL Puzzle
Execution Plan, SQL Scripts, SQL Server

A simple puzzle: why does SQL Server show such a complicated execution plan for a single row, single table query on WideWorldImporters? Try to solve it.

Read More
Six evenly spaced bird feeders on a fence, a flock of sparrows crowding one and a robin alone on another

Local Variable Estimates: Why the Density Vector Wins

June 18, 2018
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Server, SQL Statistics, SQL Variable

Understand local variable estimates with skewed data, density calculations, parameter comparisons, and targeted OPTION RECOMPILE tests.

Read More
A wooden seesaw tipping as one more stone is added from a red bucket.

The Tipping Point: Why SQL Server Skips Your Nonclustered Index

June 5, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

Find the tipping point where key lookups cost more than a scan, then compare covering and filtered indexes with measured reads.

Read More
One railway route can split into parallel tracks, but the switch controls the route

How to Force a Parallel Execution Plan for a Query? – Interview Question of the Week #170

April 22, 2018
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Performance, SQL Scripts, SQL Server

A customer asked how to force a Parallel Execution Plan for a query. Here are two methods, including QUERYTRACEON 8649, with a simple example.

Read More
Management Studio query window.

SQL SERVER – FIX: Arithmetic Overflow Error in Object Execution Statistics Report in Management Studio

April 6, 2018
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Statistics

The SSMS Object Execution Statistics report suddenly failed for a client with Msg 8115, arithmetic overflow converting to int. Here is why and what to do.

Read More
Previous 1 … 19 20 21 22 23 24 25 … 35 Next
  • Books
  • Testimonials
  • Privacy Policy

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