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
Jul23

Running SQL Server Under a Group Managed Service Account

Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Configuration, SQL Server Security, SQL Server Services
No Comments

Set up a group managed service account for SQL Server Engine and Agent, then verify permissions, SPNs, and Kerberos connections.

Continue Reading
Jul22

Temp Table Scope in Dynamic SQL: Who Can See What

Pinal Dave
SQL Tips and Tricks
Dynamic SQL, SQL Scripts, SQL TempDB, Temp Table
5 Comments

Temp table scope decides what dynamic SQL and stored procedures can read. Tested demos show a child reading a parent table, a procedure that fails without it, a dynamic table shape and the error a typo causes. A card lists the rules.

Continue Reading
Jul21

Can an Index Reduce Performance of SELECT Query? – Interview Question of the Week #234

Pinal Dave
SQL Interview Questions and Answers
2 Comments

Question: Can an Index Reduce Performance of SELECT Query? There is a huge misconception that Indexes does not impact SELECT queries negatively.

Continue Reading
Jul20

Dynamic SQL Temp Table: Why It Disappears and How to Keep It

Pinal Dave
SQL Tips and Tricks
Dynamic SQL, SQL Scripts, SQL TempDB, Temp Table
3 Comments

A dynamic SQL temp table is dropped when its dynamic batch ends, so the main code cannot read it. A global temp table keeps the data, and a per session name keeps it safe. Every step is tested, including the second session clash.

Continue Reading
Jul19

msdb Upgrade Error 916: Fix the Database Owner

Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server Security, SQL Upgrade, System Database
No Comments

A msdb upgrade error can stop the service at the last upgrade step. The post reads the ERRORLOG, shows a read-only owner check, and walks through the four steps that fix the owner of msdb. The fix is one ALTER AUTHORIZATION statement.

Continue Reading
Jul18

SQL Agent Job Backslash Puzzle: Why Both Rows Were Deleted

Pinal Dave
SQL Puzzle
SQL Delete, SQL Scripts, SQL Server Agent
4 Comments

A SQL Agent job backslash at the end of a comment line can turn a one row delete into a delete of the whole table. This puzzle sets up the job, explains the cause and tests the effect in T-SQL. It ends with a safe way to write the step.

Continue Reading
Jul17

Disable Resource Governor: Why RECONFIGURE Turns It On

Pinal Dave
SQL Tips and Tricks
Resource Governor, SQL Memory, SQL Scripts, SQL Server
No Comments

To disable Resource Governor, run ALTER RESOURCE GOVERNOR DISABLE. The post shows why RECONFIGURE enables the feature, with a tested script that restores the state it finds. It also explains how saved pool limits come back to life.

Continue Reading
Previous 1 … 156 157 158 159 160 161 162 … 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