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
NOLOCK Double Counting: One Employee, Two Lunches

NOLOCK Double Counting: One Employee, Two Lunches

September 22, 2026
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Index, SQL Lock, SQL Transactions

NOLOCK double counting is how three people in a lunch line turn into four lunches. Nothing was inserted. One row moved ahead of the scan and got read twice. I tested it on SQL Server 2025 and share a query that catches it on your own table.

Read More
NOLOCK Can Miss Rows: The Order That Was Never Missing

NOLOCK Can Miss Rows: The Order That Was Never Missing

September 10, 2026
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Lock, SQL Transactions

Yes, NOLOCK can miss rows. A row can vanish from your report while it sits safely in the table. Nobody deleted it. The read simply walked past it.

Read More
UPDATE Without WHERE, SQL in Sixty Seconds episode 211, featuring Dex and Mia.

UPDATE Without WHERE Clause: The Day Everyone Got a Raise

September 8, 2026
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Server, SQL Transactions

An UPDATE without WHERE clause changed 8,432 salaries. When ROLLBACK can help, and how to check the affected row count before COMMIT.

Read More
WHERE Clause

Function in the WHERE Clause – SQL in Sixty Seconds 201

October 23, 2023
Pinal Dave
SQL Video
SQL Function, SQL in Sixty Seconds, SQL Index

Few even asked me to build a video on this topic. Hence, I decided to make a Function in the WHERE Clause – SQL in Sixty Seconds 201.

Read More
Parameter Sensitive

Parameter Sensitive Plan optimization in SQL Server 2022 – SQL in Sixty Seconds #200

May 16, 2023
Pinal Dave
SQL Video
Execution Plan, Parameter Sniffing, SQL in Sixty Seconds, SQL Performance

SQL Server 2022 introduces Parameter Sensitive Plan Optimization (PSPO), a feature that revolutionizes the performance of parameterized queries.

Read More
swap columns

Swap Columns – SQL in Sixty Seconds #199

August 2, 2022
Pinal Dave
SQL Video
SQL Column, SQL in Sixty Seconds

Today we will see a quick video on how to swap columns in SQL Server. It is a widespread request. We will learn that in this video.

Read More
File Latency

Find Database File Latency – SQL in Sixty Seconds #198

June 15, 2022
Pinal Dave
SQL Video
SQL Data Storage, SQL DMV, SQL in Sixty Seconds, SQL Performance

Lots of people asked me to create a video on my earlier blog post SQL SERVER – Script to List Database File Latency. Here is the video.

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

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