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
Apr9

How to Change Owner of Database in SQL SERVER? – Interview Question of the Week #117

Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Scripts, SQL Server, SQL Server Security
12 Comments

How do you change owner of a database in SQL Server? Three ways, including ALTER AUTHORIZATION, which I prefer, and the deprecated sp_changedbowner.

Continue Reading
Apr8

Double-Take Source Connection: Service Pack Fails to Look Up Cluster Resource Types

Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Cluster, SQL Service Pack
No Comments

A SQL Server service pack failed in a cluster with an error to lookup cluster resource types. Detail.txt named the Double-Take Source Connection resource type. Removing it with Remove-ClusterResourceType fixed the install.

Continue Reading
Apr7

SQL SERVER – Unable to recycle Errorlog – sp_cycle_errorlog – OS error 1392

Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Log, SQL Scripts, SQL Server
5 Comments

On a clustered server the nightly ERRORLOG cycling stopped, and sp_cycle_errorlog failed with OS error 1392. Here is what that means and how we fixed it.

Continue Reading
Apr6

SQL SERVER – Script to Audit Login and Role Member Change

Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Login, SQL Scripts, SQL Server
1 Comment

A script to audit login and role member changes in SQL Server, tested end to end, including the failed attempts most people never think to capture.

Continue Reading
Apr5

SQL SERVER – Msg 3136, Level 16 – This Differential Backup Cannot be Restored Because the Database has not Been Restored to the Correct Earlier State

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Scripts, SQL Server
1 Comment

I was trying to teach copy-only backups to my students and encountered below error related to differential backup.

Continue Reading
Apr4

SQL SERVER – Msg 3101, Level 16 – Exclusive Access Could not be Obtained Because the Database is in Use

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Server
6 Comments

RESTORE failed with Msg 3101: exclusive access could not be obtained because the database is in use. How to find who is connected and your options to fix it.

Continue Reading
Apr3

SQL SERVER – Management Studio Missing – SSMS 2014 not Installed with SQL Server 2014

Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Installation, SQL Server Management Studio
2 Comments

SSMS 2014 not installed after a SQL Server 2014 setup? The Management Tools feature was never selected. Here is how the discovery report showed it.

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