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
Jun17

Finding Databases That Have Never Been Backed Up

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL DMV, SQL Monitoring
No Comments

Your backup job is green, but is every database in it? Here is a read-only way to find the ones missing from msdb history.

Continue Reading
Jun16

Comparing Two Schemas With sys.columns and a FULL OUTER JOIN

Pinal Dave
SQL Tips and Tricks
Schema, SQL Joins, SQL Scripts, SQL System Table
No Comments

Use read-only queries for comparing two schemas, finding missing columns, checking type details, and reviewing indexes and modules.

Continue Reading
Jun15

SQL Server: Why Retrying an INSERT Can Create Duplicate Rows

Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server
No Comments

Retrying an INSERT can create duplicate rows even with an identity primary key. These tested examples use a stable request ID to return the original order, reject changed inputs, and preserve unrelated errors.

Continue Reading
Jun14

GDR or CU: Choosing Your Update Branch

Pinal Dave
SQL Tips and Tricks
Cumulative Update, DBA, SQL Patch, SQL Server, SQL Server Security
No Comments

Choose GDR or CU for SQL Server by understanding security and cumulative branches, checking the exact build, and testing a branch change.

Continue Reading
Jun13

SQL SERVER – How to Get SQL Server Restart Notification?

Pinal Dave
SQL Tips and Tricks
SQL Utility
12 Comments

Want a restart notification when SQL Server starts, without buying a tool? Here are the steps to run a stored procedure at startup.

Continue Reading
Jun12

SQL SERVER – SQL Server High Availability Options – Notes from the Field #032

Pinal Dave
SQL Performance
Notes from the Field, Shrinking Database
1 Comment

Not sure which of the High Availability options fits your organization? Tim Radney explains the SQL Server choices in very simple words.

Continue Reading
Jun11

Attach a Database in SQL Server and Detach It Safely

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Deprecated Feature, SQL Scripts
5 Comments

To attach a database, use CREATE DATABASE with FOR ATTACH and point it at the data and log files. This post detaches a demo database, attaches it again, shows the error that stops a detach, and compares the old sp_attach_db procedure with the current statement.

Continue Reading
Previous 1 … 428 429 430 431 432 433 434 … 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