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
SQL Server Execution Plan.

SQL SERVER – Execution Plans and Indexing Strategies – Quick Guide

February 9, 2026
Pinal Dave
SQL Performance
Clustered Index, Execution Plan, Query Hint, SQL Index

Let us learn today in this quick guide Execution Plans and Indexing Strategies. Your comments are welcome

Read More
Overutilized

SQL SERVER – Exploring 3 Overutilized Features

November 17, 2023
Pinal Dave
SQL Tips and Tricks
Query Hint, SQL Cursor

Potentially leading to less efficient implementations or missed opportunities for optimization. In this blog post, we’ll explore three such Overutilized features.

Read More
A specialized jig and a generic guide are compared against differently shaped workpieces.

SQL SERVER – Parameter Sniffing and Bad Plan

August 5, 2021
Pinal Dave
SQL Performance
Parameter Sniffing, Query Hint, SQL Scripts, SQL Server

Disabling parameter sniffing does not guarantee that a bad plan becomes good. That remains my answer to the customer question.

Read More
Gouache painting of a seedling in a glass jar on a windowsill with a vermilion watering can beside it

Query Hints on a View in SQL Server: Where OPTION Goes

July 14, 2021
Pinal Dave
SQL Tips and Tricks
Execution Plan, Query Hint, SQL Scripts, SQL View

Query hints on a view cannot sit inside the view. Learn where OPTION goes, what a view may contain, and how Query Store hints help.

Read More
Gouache painting of a pale wooden bench in a bare room with a single vermilion peg set in the top

Change Join Type for a Query: HASH, LOOP and MERGE Hints

April 22, 2021
Pinal Dave
SQL Tips and Tricks
Execution Plan, Query Hint, SQL Joins, SQL Scripts

To change join type for a query, add one of three hints to its OPTION clause. This post runs one join with each hint on two filters and compares the join type and the logical reads. It shows that no join type is best in general, and what a join hint in the FROM clause does to the join order.

Read More
Gouache painting of a row of six clay cups on a windowsill in blue, pink, cream, sage and vermilion

sys.dm_exec_valid_use_hints: Every USE HINT Your Server Knows

April 13, 2021
Pinal Dave
SQL Performance
Parameter Sniffing, Query Hint, SQL DMV, SQL Scripts

sys.dm_exec_valid_use_hints lists every USE HINT name that your SQL Server accepts. This post groups the 35 names on SQL Server 2025 and shows the compile error for a misspelled hint. It applies two hints and reads the plan to prove each one worked, then compares USE HINT with QUERYTRACEON.

Read More
A hand muffling the clapper of one handbell with a leather pad in a row of brass handbells

USE HINT: Switching Off One Optimizer Rule Without Trace Flags

April 5, 2021
Pinal Dave
SQL Performance
Query Hint, Query Store, SQL Server, TraceFlags

Apply USE HINT to one query, inspect supported names, compare optimizer behavior, and manage Query Store hints with a clear removal plan.

Read More
1 2 3 4 … 7 Next
  • Books
  • Testimonials
  • Privacy Policy

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