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
Jan18

Agent Service Missing in Configuration Manager: The Fix

Pinal Dave
SQL Tips and Tricks
Registry, SQL Error Messages, SQL Server Agent, SQL Server Services
1 Comment

An Agent service missing in Configuration Manager can come from a wrong program path. This post compares the service lists, reads the Agent path with T-SQL, checks that the file exists, and explains how to repair the path.

Continue Reading
Jan17

SQL SERVER – Temp Table vs Table Variable – Cardinality Estimation

Pinal Dave
SQL Performance
Execution Plan, SQL Scripts, SQL Server, SQL TempDB, Temp Table
3 Comments

I had a very interesting conversation with one of my clients about Cardinality Estimation for Temp Table vs Table Variable. Let us discuss it today.

Continue Reading
Jan16

SQL Agent Error 7000: The System Cannot Find the File Specified

Pinal Dave
SQL Tips and Tricks
Registry, SQL Error Messages, SQL Server, SQL Server Agent, SQL Server Services
8 Comments

SQL Agent error 7000 (event ID 7000) stopped the SQL Server Agent service from starting after an operating system restart. The service’s path to its executable pointed to the wrong drive. Correcting the ImagePath value in the registry let the service start.

Continue Reading
Jan15

Why a Filtered Index Is Ignored by Parameterized Queries

Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Index, SQL Performance
No Comments

Explain why a filtered index is ignored with parameters, inspect plan warnings, and compare literal filters, RECOMPILE, and coverage fixes.

Continue Reading
Jan14

Error 15141: Upgrade Fails Because a Login Owns an Availability Group

Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Scripts, SQL Server, System Database
No Comments

Error 15141 means the server principal owns one or more availability groups and cannot be dropped. The msdb110_upgrade.sql script failed on a DROP LOGIN, and the script level upgrade for master failed with it. Changing the group owner to sa let the upgrade finish.

Continue Reading
Jan13

Msg 8152 Still Showing in SQL Server 2019: Check Compatibility Level

Pinal Dave
SQL Tips and Tricks
Compatibility Level, SQL Error Messages, SQL Scripts, SQL Server 2019, SQL String
2 Comments

Msg 8152 still appears in SQL Server 2019 when the database runs at compatibility level 140. At level 150 you get Msg 2628, which names the column. The setting VERBOSE_TRUNCATION_WARNINGS also controls it.

Continue Reading
Jan12

What is TempDB Spill in SQL Server? – Interview Question of the Week #259

Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Memory, SQL Scripts, SQL Server, SQL TempDB
No Comments

When SQL Server uses TempDB when any query does not have enough memory to do its operation, it is called TempDB Spill. Let’s learn today.

Continue Reading
Previous 1 … 130 131 132 133 134 135 136 … 846 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