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
Dec12

Foreign Keys Across Databases: What to Use Instead

Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server
No Comments

SQL Server will not create a foreign key to another database. Here is the real error, why a report is only detection, and a same-database option that enforces.

Continue Reading
Dec11

SQL SERVER – Fix: Error: Msg 1904, Level 16 The statistics on table has 33 column names in statistics key list. The maximum limit for index or statistics key column list is 32

Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Statistics
4 Comments

Statistics can use up to 32 columns, while an index key is limited to 16. Here is Msg 1904 with a quick demo of 33 versus 32 columns.

Continue Reading
Dec10

Diagnosing Connection Pool Exhaustion From the SQL Server Side

Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL DMV, SQL Server, SQL Transactions
No Comments

Diagnose connection pool exhaustion by grouping SQL Server sessions, finding sleeping open transactions, and reading their last command.

Continue Reading
Dec10

Error 3241 on Restore: Newer Version or Damaged Backup File

Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server
No Comments

Error 3241 only says SQL Server could not read the file as a backup. Here are three broken files, three different messages, and the checks to run first.

Continue Reading
Dec9

SQL SERVER – Bad Practice of Using Keywords as an Object Name – Avoid Using Keywords as an Object

Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure
7 Comments

Why using keywords as an object name is a bad practice: a stored procedure named GO runs with EXEC GO, and the result can surprise you.

Continue Reading
Dec8

SQL SERVER – Error: Deleting Offline Database and Creating the Same Name

Pinal Dave
SQL Tips and Tricks
Database, SQL Server Management Studio
8 Comments

Deleted an offline database but the disk is still full, or you get an error creating a database with the same name? Here is why, and what to do.

Continue Reading
Dec7

Statement Terminators: Where T-SQL Requires a Semicolon

Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server
No Comments

Most T-SQL statements run fine without a semicolon, but a pasted CTE, THROW or MERGE will not. Here is how to read the error and fix the line above it.

Continue Reading
Previous 1 … 563 564 565 566 567 568 569 … 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