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
Jan14

CONTEXT_INFO: Passing a Value Through a Session

Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Scripts, SQL Trigger
No Comments

CONTEXT_INFO lets you attach a small value to a session and read it anywhere in that session, even inside a trigger. This post tests SET CONTEXT_INFO on SQL Server 2025, uses it to log who changed a price, and compares it with SESSION_CONTEXT.

Continue Reading
Jan13

Making SSIS Packages Faster

Pinal Dave
SQL Performance
ETL, SQL Performance, SQL Server, SSIS
1 Comment

Make SSIS packages faster by measuring each flow, using fast load, sizing buffers from row width, and replacing row-by-row work.

Continue Reading
Jan12

SQLCMD Mode in SSMS: Variables, :CONNECT and :r Includes

Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Management Studio, sqlcmd
No Comments

Use SQLCMD mode in SSMS for server and database variables, :CONNECT, :r include files, and an error-stop release script.

Continue Reading
Jan11

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

Pinal Dave
SQL Tips and Tricks
SQL Index
3 Comments

Index on Col1, Col2 and index on Col1, Col2, Col3 Part 3: Jon and Mike ask if it is always best practice to drop redundant indexes. Here is a special case.

Continue Reading
Jan10

Maintaining SharePoint Content Databases: What the DBA Still Owns

Pinal Dave
SQL Tips and Tricks
DBA, SharePoint, SQL Backup and Restore, SQL Server DBCC
No Comments

Review SharePoint content databases for CHECKDB, backup history, log growth, recovery model, and a tested site-collection restore.

Continue Reading
Jan9

SQL SERVER – How to Hide Yourself from SQL Server? – Guest Post by Balmukund Lakhani

Pinal Dave
SQL Tips and Tricks
Database, SQL Utility
8 Comments

Balmukund Lakhani of Microsoft India GTSC writes a guest post with a fun title and a useful trick: how to hide yourself from SQL Server, in his own words.

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