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
Feb8

Convert Subquery to CTE: SQL in Sixty Seconds #001

Pinal Dave
SQL Video
CTE, SQL in Sixty Seconds, SQL Scripts, SQL Sub Query
16 Comments

You can convert subquery to CTE syntax by naming the inner query and using that name in the outer query. The first SQL in Sixty Seconds episode shows the change. My tests on SQL Server 2025 show the result stays the same, and that a CTE used twice reads the table twice.

Continue Reading
Feb7

SQL SERVER – Installation Log Summary File Location – 2012 – 2008 R2

Pinal Dave
SQL Tips and Tricks
SQL Error Messages
12 Comments

A new DBA on his first day could not find the SQL Server installation log summary. Here is the file location for SQL Server 2012 and 2008 R2.

Continue Reading
Feb6

SQL SERVER – ERROR: FIX – Database diagram support objects cannot be installed

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

Database diagram support objects cannot be installed because this database does not have a valid owner. Here is the quick fix I used on a friend’s database.

Continue Reading
Feb5

Testing a Failover Before You Need One

Pinal Dave
SQL Tips and Tricks
AlwaysOn, DBA, SQL High Availability, SQL Server Cluster, Testing
No Comments

Testing a failover reveals connection, data, job, and recovery gaps before an outage; learn to plan a SQL Server drill and record the result.

Continue Reading
Feb4

SQL SERVER – Finding Count of Logical CPU using T-SQL Script – Identify Virtual Processors

Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server
17 Comments

A friend needed to count Virtual Processors available to SQL Server 2000. Scripts for 2000 with xp_msver, and for 2005 to 2012 with sys.dm_os_sys_info.

Continue Reading
Feb3

SQL Saturday #116: The First SQL Saturday in India

Pinal Dave
SQLAuthority News
Conferences, SQL PASS, SQL Saturday
6 Comments

SQL Saturday #116 was the first SQL Saturday in India, and it was a huge success. We filled every seat, hosted two technical tracks with six speakers and ended with a book signing. Here is my recap of the day, with photographs.

Continue Reading
Feb2

SQL Server Questions and Answers: The Movie My Grandma Asked For

Pinal Dave
SQL Interview Questions and Answers
Life Lessons, Pluralsight, SQL Book, SQL Training
8 Comments

SQL Server Questions and Answers began as a book I carried to my grandma for blessings. Grandma’s question about a movie inspired a video course.

Continue Reading
Previous 1 … 554 555 556 557 558 559 560 … 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