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
Aug7

Running SQL Code: Execute, Batches and GO in SSMS

Pinal Dave
SQL Tips and Tricks
Batch, Database, SQL Scripts, SQL Server Management Studio
1 Comment

Running SQL code in SSMS starts with F5 or the Execute button. This post covers running only a selection, what a batch is, why GO is not T-SQL, why variables disappear after GO, and how GO with a number repeats a batch.

Continue Reading
Aug6

Data and Information: Why Every Business Runs on a Database

Pinal Dave
SQL Tips and Tricks
Database, SQL Data Storage, SQL Scripts, SQL Table Operation
3 Comments

Data and Information are not the same thing. Data is the raw facts a business stores, and information is the answer you get when a query processes them. This post uses a small bookshop table to show the difference, and why a database does the job better than a ledger or a spreadsheet.

Continue Reading
Aug5

The Four Window Functions You Will Actually Use

Pinal Dave
SQL Performance
Best Practices, Database, SQL Scripts, SQL Server
6 Comments

Learn four practical window functions with SQL examples for numbering rows, ranking ties, comparing previous values, and calculating running totals.

Continue Reading
Aug4

SQL SERVER – Understanding Restrict Access to Restricted_User Database Property

Pinal Dave
SQL Tips and Tricks
5 Comments

What does Restrict Access set to Restricted_User mean in database properties? I answered a reader with a simple image comparing it with Multi_User and Single_User.

Continue Reading
Aug3

IS DISTINCT FROM in SQL Server 2022: NULL-Safe Comparisons

Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Operator, SQL Server, SQL Server 2022
2 Comments

Use IS DISTINCT FROM for NULL-safe comparisons in SQL Server 2022, understand older workarounds, and inspect index seeks before changing code.

Continue Reading
Aug2

SQL SERVER – Disk Space Monitoring – Detecting Low Disk Space on Server

Pinal Dave
SQL Tips and Tricks
Disk, SQL Scripts, SQL Server, SQL Stored Procedure
38 Comments

A common question I get: how do you go about detecting low disk space on SQL Server? Here are two ways, including xp_fixeddrives, and the one I prefer.

Continue Reading
Aug1

A Crossword Helper in T-SQL: Matching Word Patterns With LIKE

Pinal Dave
SQL Tips and Tricks
SQL Operator, SQL Scripts, SQL Server, SQL String
No Comments

Match word patterns with LIKE and SUBSTRING, build sorted-letter anagram signatures, and use a leading-letter index for crossword searches.

Continue Reading
Previous 1 … 475 476 477 478 479 480 481 … 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