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
temptable

SQL SERVER – Performance: Optimizing High Volume OR Conditions through TempTable

October 2, 2023
Pinal Dave
SQL Performance
SQL Operator, SQL Performance, Temp Table

We explore an alternative approach when dealing with high volumes of ‘OR’ conditions in our SQL queries: the use of a TempTable.

Read More
Other Operators

Performance: Between and Other Operators – SQL in Sixty Seconds #191

January 12, 2022
Pinal Dave
SQL Video
SQL Operator, SQL Performance, SQL Server

If we use BETWEEN what will be the impact of performance. Let us watch Performance: Between and Other Operators.

Read More
Three different woodworking joints laid out side by side on a bench, each cut for the same two boards.

SQL SERVER – Change Join Type for Query

April 22, 2021
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Joins, SQL Operator, SQL Scripts, SQL Server, SQL Server Management Studio

“Can I Change Join Type for Query?” I was recently asked this during  Comprehensive Database Performance Health Check. Of course Yes!

Read More
Five wooden cups on a felt table, four turned up empty and one still covered.

NOT IN With a NULL in the List Returns No Rows

April 8, 2021
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Operator, SQL Server, SQL Sub Query

See why NOT IN with a NULL returns no customers, then compare five sample rows, NOT EXISTS, an IS NOT NULL filter, and query plans.

Read More
no work

SQL SERVER – Parallelism and Threads with No Work

April 7, 2021
Pinal Dave
SQL Performance
Execution Plan, Parallel, SQL Operator, SQL Scripts, SQL Server

One of my repeat clients asked me if a query goes to parallel do they use all the threads. We can have parallelism and thread with no work.

Read More
Index Scan

SQL SERVER – Top 1 and Index Scan

April 1, 2021
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Operator, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Top

Scans are not always bad they are there because they are needed. Let us see a very simple demonstration about Top 1 and Index Scan.

Read More
JOIN Elimination

SQL SERVER – JOIN Elimination for Not Selected Column

November 25, 2020
Pinal Dave
SQL Performance
Execution Plan, SQL Joins, SQL Operator, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Statistics

The question is about JOIN Elimination for Not Selected Column. It was discussed in the Comprehensive Database Performance Health Check.

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

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