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
Jul13

Log Shipping to a Readable Standby: Restores vs Report Users

Pinal Dave
SQL Tips and Tricks
Log Shipping, SQL Backup and Restore, SQL High Availability, SQL Server
No Comments

Configure a readable standby for log shipping, balance restore jobs with report users, and measure copy and restore delay.

Continue Reading
Jul12

Temp Table Statistics: Why a #Table Plan Goes Stale

Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Statistics, Temp Table
1 Comment

Inspect temp table statistics across procedure calls, compare estimates with loaded rows, and test targeted refresh and recompile fixes.

Continue Reading
Jul11

DROP IF EXISTS and CREATE OR ALTER for Iterative Deployments

Pinal Dave
SQL Tips and Tricks
DevOps, SQL Server, SQL Stored Procedure
No Comments

Run your deployment script twice and see what survives. A short demo shows why CREATE OR ALTER keeps permissions and drop and create does not.

Continue Reading
Jul10

Change Data Capture Cost: Log, Storage and Cleanup Measured

Pinal Dave
SQL Performance
SQL Log, SQL Performance, SQL Scripts
No Comments

Change Data Capture cost shows up in places a quick setup never checks. On SQL Server 2025, the same update wrote three times the log with CDC on, the log waited for the capture, and the change table grew to almost four times the table. Here is every number and the script that produced it.

Continue Reading
Jul9

A T-SQL Cheat Sheet for Everyday Work

Pinal Dave
SQL Tips and Tricks
Cheatsheet, SQL Joins, SQL Server, SQL Transactions, Starting SQL
No Comments

This T-SQL cheat sheet gathers daily SELECT, JOIN, GROUP BY, window, TRY_CONVERT, and transaction patterns with short examples.

Continue Reading
Jul8

SQL – Difference between != and <> Operator used for NOT EQUAL TO Operation

Pinal Dave
SQL Tips and Tricks
59 Comments

Is there any difference between != and the ANSI operator for not equal to in SQL Server? A Facebook fan asked, and technically they work the same way.

Continue Reading
Jul7

SQL SERVER – Check Database Level (IsNullConcat) and Session Level Settings (CONCAT_NULL_YIELDS_NULL) using T-SQL

Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio
No Comments

A follow up on CONCAT_NULL_YIELDS_NULL: how to check the database level IsNullConcat setting and the session level setting using T-SQL.

Continue Reading
Previous 1 … 479 480 481 482 483 484 485 … 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