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
Aug12

SQL SERVER – Creating a Copy of Database in Azure SQL DB

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

A client wanted to tune a slow query on a copy, not on production. Here is how to create a copy of a database in Azure SQL DB and work on it safely.

Continue Reading
Aug11

Upsert Patterns in SQL Server Without Race Conditions

Pinal Dave
SQL Tips and Tricks
Deadlock, SQL Lock, SQL Server, SQL Transactions
1 Comment

Compare upsert patterns under concurrent calls, protect missing-key ranges, test MERGE with HOLDLOCK, and keep unique keys as a guard.

Continue Reading
Aug10

Install the WideWorldImporters Sample Database

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Sample Database, SQL Server Management Studio
3 Comments

To install the WideWorldImporters sample database, restore its backup file in SSMS and check the files and the row counts. This post explains the Full and Standard versions, the disk space you need, the permission trap, and three queries that prove the install worked.

Continue Reading
Aug9

Deleting Millions of Rows in Batches Without Filling the Log

Pinal Dave
SQL Performance
Batch, SQL Delete, SQL Server, Transaction Log
No Comments

Plan deleting millions of rows with bounded commits, an indexed cutoff, log reuse checks, and a clear choice of retention method.

Continue Reading
Aug8

Install SSMS: Setup and First Connection

Pinal Dave
SQL Tips and Tricks
SQL Server Installation, SQL Server Management Studio, SQL Setup
1 Comment

To install SSMS, download the installer, run it, and connect to your server. This post explains why SSMS is separate from the SQL Server engine, how to fill in the first connection, what to do about the certificate error, and how to check the connection with one query.

Continue Reading
Aug7

Does Dropping Clustered Index Drop Primary Key on the Same Column? – Interview Question of the Week #083

Pinal Dave
SQL Interview Questions and Answers
Clustered Index, SQL Constraint and Keys, SQL Index, SQL Server
18 Comments

Does dropping clustered index also drop the primary key on the same column? Here is the short answer, a follow-up to last week’s question on the reverse case.

Continue Reading
Aug6

SQL SERVER – Error: 14258 – Cannot perform this operation while SQLServerAgent is starting. Try again later

Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Agent, SQL Server Management Studio
3 Comments

A client could not run any job and got Error 14258: Cannot perform this operation while SQLServerAgent is starting. Here is what caused it and how we fixed it.

Continue Reading
Previous 1 … 311 312 313 314 315 316 317 … 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