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
Aug30

SQL Server Architecture Terminology: A Beginner’s Guide by Anil Kumar

Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Server, SQL Server Architecture, SQL Training
36 Comments

SQL Server architecture terminology is easier to follow when each term can be seen in a running instance. This guest introduction by Anil Kumar covers instances, storage, memory, the transaction log and SQLOS, with tested queries on SQL Server 2025.

Continue Reading
Aug29

Insert Multiple Rows in SQL Server: SQL in Sixty Seconds #024

Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Scripts, SQL Table Operation, SQL Transactions
30 Comments

To insert multiple rows in SQL Server, use separate INSERT statements, UNION ALL or one VALUES list. The tests here compare all three on SQL Server 2025, including failures, the 1,000 row limit and the time for 1,000 rows.

Continue Reading
Aug28

SQL SERVER – A Brief Note on SET TEXTSIZE

Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Configuration
6 Comments

Is there any difference between the LEFT function and SET TEXTSIZE? A quick script shows how each one trims a long VARCHAR(MAX) value in the results.

Continue Reading
Aug27

SQL SERVER – Answer – Value of Identity Column after TRUNCATE command

Pinal Dave
SQL Tips and Tricks
2 Comments

Seed 11, reseed to 1, then TRUNCATE: what comes next? Here is the answer on the identity column after TRUNCATE, with the script and reader comments.

Continue Reading
Aug26

What to Collect When SQL Server Is Slow

Pinal Dave
SQL Performance
Best Practices, Database, SQL Scripts, SQL Server
15 Comments

Collect SQL Server diagnostic data in a useful order: waits, active requests, blockers, execution plans, and file IO during the slow period.

Continue Reading
Aug25

REGEXP_COUNT in SQL Server 2025: Counting Pattern Matches in Text

Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String
1 Comment

REGEXP_COUNT counts how many times a pattern matches inside a text value, a job that used to need LEN and REPLACE tricks. This post tests it on SQL Server 2025: start position, flags, NULL and empty text, a data quality check, and where the old trick still fits.

Continue Reading
Aug24

SQL SERVER – DELETE, TRUNCATE and RESEED Identity

Pinal Dave
SQL Tips and Tricks
69 Comments

How does an identity column behave after DELETE, TRUNCATE and RESEED Identity? A short T-SQL script with seed 11 shows what value comes next in each case.

Continue Reading
Previous 1 … 525 526 527 528 529 530 531 … 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