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
Apr2

How to Find Median in SQL Server? – Interview Question of the Week #116

Pinal Dave
SQL Interview Questions and Answers
Ranking Functions, SQL Scripts, SQL Server
6 Comments

There is no MEDIAN function in T-SQL. Here is an easy way to find median values in SQL Server 2012 and later, plus what median really means.

Continue Reading
Apr1

SQL SERVER – System. Security. Cryptography. CryptographicException – There Was an Error Generating the XML Document

Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Encryption, SQL XML
3 Comments

SQL Server setup failed with an error generating the XML document. The real cause was DPAPI and a read-only domain controller, found in Summary.txt.

Continue Reading
Mar31

SQL SERVER – Error 33222, Level 16 – Audit ‘MyAudit’ Failed to Start

Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Error Messages, SQL Scripts, SQL Server
2 Comments

Error 33222 says only that the audit failed to start. Reproduced on SQL Server 2025: where the real reason hides, and why CREATE succeeded.

Continue Reading
Mar30

Grouping by query_hash to Find Cheap Queries That Cost the Most

Pinal Dave
SQL Performance
Query Store, SQL Cache, SQL CPU, SQL DMV, SQL Server
No Comments

Group cached statements by query_hash to find high total CPU and reads, compare plan hashes, and account for missing cache history.

Continue Reading
Mar29

SQL SERVER – Express and SQL Server Agent – Free Alternative

Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Agent, SQL Server Express
2 Comments

Small Express database, big performance problems? Here is a free alternative that fills the gap between SQL Server Express and SQL Server Agent jobs.

Continue Reading
Mar28

SQL SERVER – Huge Size of Table catalog.execution_component_phases in SSISDB

Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SSIS
2 Comments

SSISDB was huge, and the biggest table was catalog.execution_component_phases. Here is what fills it, like retention period and logging level.

Continue Reading
Mar27

Error 19407: The Lease Between the Availability Group and the Cluster Expired

Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL High Availability, SQL Server, SQL Server Cluster
4 Comments

Error 19407 means the lease between an availability group and the Windows Server Failover Cluster has expired, and the group goes to Resolving. Here is what each ERRORLOG line says and what to look at first.

Continue Reading
Previous 1 … 277 278 279 280 281 282 283 … 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