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
Jan18

SQL SERVER – Activity Monitor – Active Expensive Queries

Pinal Dave
SQL Tips and Tricks
SQL Reports, SQL Server, SQL Server Management Studio
3 Comments

A DBA spotted an extra pane in my Activity Monitor during a health check. Here is where Active Expensive Queries shows up and which SSMS version has it.

Continue Reading
Jan17

SQL SERVER – Performance Observation of TRIM Function

Pinal Dave
SQL Performance
SQL Function, SQL Scripts, SQL Server
3 Comments

Does the new TRIM function slow your queries like other functions in a WHERE clause do? Here is my performance observation of TRIM function in SQL Server 2017.

Continue Reading
Jan16

Cluster Remote Access Rule Failed During SQL Server Cluster Setup

Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server Cluster, SQL Server Installation, SQL Setup
3 Comments

The Cluster Remote Access rule failed while I installed a SQL Server failover clustered instance. Detail.txt showed setup could not reach a remote node. I checked the usual causes, then skipped the rule from the command line, and the install finished.

Continue Reading
Jan15

SQL SERVER – FIX: Number Data Type from Oracle Linked Sever Shown in Scientific Notation

Pinal Dave
SQL Tips and Tricks
Linked Server, Oracle, SQL Datatype, SQL Error Messages, SQL Server
No Comments

A client saw numbers from an Oracle linked server shown in scientific notation in SQL Server. Here is the query that shows the issue and how to fix it.

Continue Reading
Jan14

How to Get Top N Records Per Group? – Ranking Function – Interview Question of the Week #156

Pinal Dave
SQL Interview Questions and Answers
Ranking Functions, SQL Function, SQL Scripts, SQL Server
3 Comments

I gave 40 candidates this puzzle: get the top N records per group from a student marks table. Here is the simple answer using a Ranking Function.

Continue Reading
Jan13

SQL SERVER – What Does SET NOEXEC Do?

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

What does SET NOEXEC do? With SET NOEXEC ON, SQL Server compiles your query but does not run it. Here is how the compile and execute phases work.

Continue Reading
Jan12

Change Column From NULL to NOT NULL in SQL Server

Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Datatype, SQL NULL, SQL Scripts
No Comments

To change a column from NULL to NOT NULL, first fill every NULL value, then run ALTER COLUMN with the full data type and NOT NULL. This post shows the Msg 515 error you get otherwise, how to choose the replacement value, and the trap that makes a column nullable again. It ends with a default constraint that keeps new rows valid.

Continue Reading
Previous 1 … 235 236 237 238 239 240 241 … 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