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
May16

SQL SERVER – Creating a Login and Database User Without Automatic Sysadmin Grants

Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security
6 Comments

To Create a Login and User, I separate the instance identity from database access. Database ownership and sysadmin membership have different scopes.

Continue Reading
May15

Recovery Pending State in SQL Server: Find Why Databases Go There at Random

Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Log, Starting SQL
No Comments

A Recovery Pending state means SQL Server could not finish opening a database, most often because it could not open a file. I reproduced two file errors on SQL Server 2025, show what each leaves in the error log, and explain how AUTO_CLOSE and antivirus scanning caused one client case.

Continue Reading
May14

SQL SERVER – FIX: Msg 22004 – The Log File is Not Using Unicode Format

Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Agent, Transaction Log
No Comments

The SQL Server Agent log would not open in SSMS and showed Msg 22004, the log file is not using Unicode format. Here is the setting that fixed it.

Continue Reading
May13

How to Find Last Full Backup Time and Size for Database? – Interview Question of the Week #173

Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Scripts, SQL Server
5 Comments

Too many DBAs I meet have no recent backup. Here is a script that shows when each database had its last Full Backup and how big that backup was.

Continue Reading
May12

SQL SERVER – DPM Backup Failure – E_COORD_LOG_CHAIN_BROKEN – The Backup Failed Because of a Gap in The LSN the Log Files

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Server, SQL Server Security, Transaction Log
1 Comment

SQL SERVER – DPM Backup Failure – E_COORD_LOG_CHAIN_BROKEN – The Backup Failed Because of a Gap in The LSN the Log Files

Continue Reading
May11

SQL SERVER – Error: Could not Load File or Assembly Microsoft. SqlServer. management. sdk. sfc Version 12.0.0.0

Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Management Studio
1 Comment

Could not load file or assembly errors come in many flavors. Here is how to read the assembly name and version in the message and fix the missing file.

Continue Reading
May10

DBCC CHECKDB Running Slow? Check the MAXDOP Option

Pinal Dave
SQL Performance
MAXDOP, SQL Scripts, SQL Server, SQL Server DBCC
2 Comments

DBCC CHECKDB running slow can trace back to the MAXDOP option. A CHECKDB with no MAXDOP option uses the server’s max degree of parallelism, and one with its own option overrides it. This post times CHECKDB on a 2 GB database with four settings, adds PHYSICAL_ONLY, and lists the other causes to rule out.

Continue Reading
Previous 1 … 218 219 220 221 222 223 224 … 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