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
Jan8

SQL Server – Using SSMS Command Line Parameters

Pinal Dave
SQL Tips and Tricks
Command Line, SQL Server, SQL Server Management Studio
26 Comments

My friend Vinod Kumar shows how SSMS Command Line parameters can save you a few clicks every time you open Management Studio and connect to a server.

Continue Reading
Jan8

Sharding by Customer: Routing Queries to the Right Database

Pinal Dave
SQL Tips and Tricks
Best Practices, Database, Dynamic SQL, SQL Server
No Comments

Plan sharding by customer with a shard map, parameterized routing and synonyms, and account for reports, keys and customer moves.

Continue Reading
Jan7

SQL SERVER – An Interesting Case of Redundant Indexes – Index on Col1, Col2 and Index on Col1, Col2, Col3 – Part 2

Pinal Dave
SQL Tips and Tricks
SQL Index
2 Comments

Is every redundant index safe to drop? In part 2 of this interesting case of redundant indexes, Jon shows Mike a demo where a redundant index should stay.

Continue Reading
Jan6

Finding Duplicate Customers With T-SQL

Pinal Dave
SQL Tips and Tricks
Duplicate Records, SQL Function, SQL Server, SQL String
No Comments

Find duplicate customers with T-SQL by normalizing names, reviewing fuzzy matches, and merging records only after ownership is settled.

Continue Reading
Jan5

Running a Command in Every Database Without sp_MSforeachdb

Pinal Dave
SQL Tips and Tricks
DBA, Dynamic SQL, SQL Scripts, SQL Server
No Comments

Run a checked command in every database with a FAST_FORWARD cursor, AG role filter, QUOTENAME, and per-database error log.

Continue Reading
Jan4

Redundant Indexes: Index on Col1, Col2 vs Col1, Col2, Col3

Pinal Dave
SQL Performance
Execution Plan, SQL DMV, SQL Index, SQL Scripts
8 Comments

Redundant indexes cost space and slow every write, but not every one can go. This post measures an index on Col1, Col2 next to an index on Col1, Col2, Col3 on SQL Server 2025: size, plan, reads and log bytes. It ends with a safe way to remove one.

Continue Reading
Jan3

SQLAuthority News – Year 2012 in Review – Perspective of Blog

Pinal Dave
SQLAuthority News
SQL Milestone
6 Comments

The Year 2012 for this blog in numbers: about 19 million views, 372 new posts and 2,360 in total. Thank you for making SQLAuthority.com a place to learn.

Continue Reading
Previous 1 … 506 507 508 509 510 511 512 … 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