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 canal lock with a vermilion sluice wheel between the closed gates

Enable Adaptive Join in SQL Server: Why It Does Not Appear

March 26, 2021
Pinal Dave
SQL Performance
Execution Plan, SQL Joins, SQL Scripts, SQL Server

To enable adaptive join in SQL Server, the compatibility level, the database setting and the query must all agree. This post builds a demo database and probes the plan under each condition. It also corrects older advice whose statements switch the feature off.

Read More
Gouache painting of a blue locomotive on a track beside a platform with small crates and a post with a round vermilion signal

Adaptive Threshold Rows: How an Adaptive Join Chooses

March 25, 2021
Pinal Dave
SQL Performance
Execution Plan, SQL Joins, SQL Scripts, SQL Server

Adaptive threshold rows is the row count at which an adaptive join switches from nested loops to a hash join. This post runs two queries on WideWorldImporters, reads each threshold from the cached plan, and shows which branch ran. The first query stays below its threshold and the second goes above it.

Read More
Gouache painting of a short train with green carriages and a dark vermilion wagon at the front running along a track at dusk

JOIN Elimination in SQL Server: When a Table Drops Out

November 25, 2020
Pinal Dave
SQL Performance
Execution Plan, SQL Joins, SQL Scripts, SQL Statistics

JOIN elimination removes a joined table from the plan when the query does not need it. This post proves it with STATISTICS IO, then tests nine variations to show when it applies and when it does not, including a foreign key that has lost its trust.

Read More
Join or Inner Join

Keyword Join or Inner Join – SQL in Sixty Seconds #099

August 11, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Joins, SQL Performance, SQL Server

Have you ever wondered what is the difference between keyword Join or Inner Join? Are they same or different? If different, how are they different?

Read More
eliminate join

Creating Covering Index to Eliminate Join – SQL in Sixty Seconds #090

July 29, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Index, SQL Joins, SQL Performance, SQL Scripts, SQL Server

How to improve performance so today we are going to see a video about creating converting index to eliminate join and improve query performance.

Read More
Paired gloves sit in trays while unmatched gloves remain outside on both sides

What is Full Outer Join With Exclusion? – Interview Question of the Week #286

July 26, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Joins, SQL Scripts, SQL Server

Question: What is Full Outer Join With Exclusion? 

Answer: I got this question after reading my earlier blog post about Basic of JOINs.

Read More
A long-jump pit with a vermilion flag at last year's best mark and a fresh landing print just past it.

Year-Over-Year Comparisons in One Query

June 11, 2020
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Joins, SQL Reports, SQL Server

Build year-over-year monthly comparisons with a complete calendar, LAG, date-aligned joins, safe percentages, and missing-period rules.

Read More
Previous 1 2 3 4 5 … 21 Next
  • Books
  • Testimonials
  • Privacy Policy

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