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
Mar28

Compound Assignment Operators in SQL Server: SQL in Sixty Seconds #009

Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Operator, SQL Scripts, SQL Variable
3 Comments

Compound assignment operators such as += and *= combine an operation with an assignment in T-SQL. The tests here run all eight operators on SQL Server 2025, and show how NULL, integer division, overflow, truncation and precedence change the result.

Continue Reading
Mar27

SQL SERVER – Right Aligning Numerics in SQL Server Management Studio (SSMS)

Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio
16 Comments

Numbers in SSMS results are hard to read when they do not line up. Right aligning numerics takes one query option, and I show where to find it.

Continue Reading
Mar26

Loading Partitions in Parallel

Pinal Dave
SQL Tips and Tricks
ETL, Parallel, SQL Lock, SQL Server, Table Partitioning
2 Comments

Loading partitions in parallel uses separate staging tables, controlled workers, and partition switching to publish data without chaotic locks.

Continue Reading
Mar25

Getting Through a Technical Book You Actually Finish

Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server
34 Comments

Read a technical book with a practical question, small SQL experiments, and reusable notes that turn each useful chapter into working knowledge.

Continue Reading
Mar24

Plan Cache Key Lookups: Finding the Worst Ones With XQuery

Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL Index, SQL XML
No Comments

Not every key lookup needs fixing. Rank statements by reads, find the lookups with XQuery, then test the smallest index change on one call.

Continue Reading
Mar23

MAXDOP 1 in SQL Server: SQL in Sixty Seconds #008

Pinal Dave
SQL Video
MAXDOP, Parallel, Query Hint, SQL in Sixty Seconds
4 Comments

MAXDOP 1 requests serial execution for one SQL Server query. I measured four variants of one query on SQL Server 2025, and the serial plan was the slowest in elapsed time with about the same CPU. The post shows the settings behind the hint and how to read the degree of parallelism a query actually used.

Continue Reading
Mar22

Computed Column UDFs: Why Every Query on the Table Goes Serial

Pinal Dave
SQL Performance
Computed Column, Execution Plan, Parallel, SQL Function
No Comments

A computed column that calls a scalar function can block parallel plans for queries that never read it. Here is how to spot it and test a fix.

Continue Reading
Previous 1 … 547 548 549 550 551 552 553 … 847 Next

SQL Server slow? Let's fix it together in about four hours.

Pinal Dave

In my Comprehensive Database Performance Health Check, you share your screen, I guide you, and we fix your biggest performance troublemakers. No passwords. No remote access.

You keep every script, and the know-how to fix it yourself next time.

Want your whole team to learn it?

My Practical Workshop has no PowerPoint, just live demos. My AI Enablement Workshop shows your team where AI saves hours, and where it quietly costs them.

Over 400 customers have worked with me this way, and not one shared a password. See all consulting options.


Who We Are

Pinal Dave is an SQL Server Performance Tuning Expert and independent consultant with over 24 years of hands-on experience. He holds a Masters of Science degree and numerous database certifications.

Pinal has authored 19 books and 125 Pluralsight courses. To freely share his knowledge and help others build their expertise, Pinal has also written more than 5,800 database tech articles on his blog at https://blog.sqlauthority.com.

Pinal is also a CrossFit Level 1 Trainer (CF-L1) and CrossFit Level 2 Trainer (CF-L2).


Nupur Dave is a social media enthusiast and an independent consultant. She primarily focuses on the database domain, helping clients build short and long-term multi-channel campaigns to drive leads for their sales pipeline.


Shaivi Pinalkumar Dave is a book author and a women’s artistic gymnast.

  • Books
  • Testimonials
  • Privacy Policy

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