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
Sep12

SQL SERVER – Performance: OR vs IN – A Summary and Further Reading

Pinal Dave
SQL Performance
Clustered Index, Computed Column, SQL Index, SQL Server
No Comments

The varied responses led me to write a detailed blog post to clarify the correct answer. If you missed it, you can read it here. Let us see A Summary and Further Reading.

Continue Reading
Sep11

SQL SERVER – Performance: OR vs IN

Pinal Dave
SQL Performance
Execution Plan, SQL Server Management Studio, SQL Statistics
2 Comments

I recently asked on Twitter an exciting question about OR vs IN. While I got lots of good answers, there were an equal amount of wrong answers.

Continue Reading
Sep8

SQL SERVER – The Comprehensive Guide to STATISTICS_NORECOMPUTE

Pinal Dave
SQL Performance
SQL Index, SQL Statistics
No Comments

One such feature that plays a pivotal role in managing your SQL Server databases’ performance is the STATISTICS_NORECOMPUTE option.

Continue Reading
Sep7

PS1 Cannot Be Loaded Because Running Scripts Is Disabled

Pinal Dave
SQL Tips and Tricks
Command Line, PowerShell, Windows
No Comments

PS1 cannot be loaded because PowerShell’s execution policy blocks scripts by default. You can set RemoteSigned, bypass the policy for one session, or choose Unrestricted as a last resort. Here is each option, and the scope to check.

Continue Reading
Sep6

Blocking Alert: A T-SQL Check for Sessions Blocked Too Long

Pinal Dave
SQL Tips and Tricks
Best Practices, Comprehensive Database Performance Health Check, SQL Server
No Comments

Short blocking is normal. This check flags lock waits past a threshold and walks each chain to the session at the front of the line.

Continue Reading
Sep5

SQL SERVER – Understanding MAX_DURATION in Index Creation

Pinal Dave
SQL Performance
SQL Index
No Comments

One particular option that can be specified during the index creation is MAX_DURATION. This blog post will explore this option.

Continue Reading
Sep4

SQL SERVER – How to Move a Table into a Schema in T-SQL

Pinal Dave
SQL Tips and Tricks
Schema
1 Comment

If you’ve ever wondered how to move a table into a schema in T-SQL, this post is for you. One ALTER SCHEMA TRANSFER command does the job.

Continue Reading
Previous 1 … 30 31 32 33 34 35 36 … 846 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