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
Two rows of lettuces, a red marker stick standing in the one empty gap.

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

August 3, 2013
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Operator, SQL Server, SQL Server 2022

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

Read More
SQL SERVER - Disk Space Monitoring - Detecting Low Disk Space on Server

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

August 2, 2013
Pinal Dave
SQL Tips and Tricks
Disk, SQL Scripts, SQL Server, SQL Stored Procedure

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.

Read More
A stained glass panel being made, five panes in a row with two filled and a hand testing a piece in a gap.

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

August 1, 2013
Pinal Dave
SQL Tips and Tricks
SQL Operator, SQL Scripts, SQL Server, SQL String

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

Read More
An offset icing spatula beginning a new icing section beside a finished section

Adding System Versioning to a Table That Already Has Rows

July 31, 2013
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Table Operation, Temporal Table

Turning on temporal history for a table that already has data does not rebuild the past. Here is the clean way to do it, and the traps to avoid.

Read More
Two hands taking blocks from two sorted bins, one of cubes and one of cylinders, beside a messy heap of blocks.

Rewriting OR Conditions So the Index Gets Used

July 29, 2013
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server, SQL Union clause

Rewrite OR conditions with separate seeks, preserve duplicate and NULL behavior, and compare plans before choosing UNION or recompilation.

Read More
A tall floodlight lighting an entire empty car park at night, one small bicycle standing in a far corner.

SSRS Parameters That Do Not Slow Reports

July 28, 2013
Pinal Dave
SQL Performance
Parameter Sniffing, Reporting Services, SQL Performance, SQL Reports, SQL Server

SSRS parameters work best with selective defaults, compact value lists, and SQL queries that preserve useful indexes under real filters.

Read More
A line of ants carrying crumbs along a wooden table to one corner, past a red napkin ring.

Why DBCC SHRINKFILE Crawls and How to Watch Its Progress

July 27, 2013
Pinal Dave
SQL Tips and Tricks
Shrinking Database, SQL Data Storage, SQL Server, SQL Server DBCC

Explain why DBCC SHRINKFILE can take hours, monitor percent_complete and waits, and use TRUNCATEONLY before small steps.

Read More
Previous 1 … 260 261 262 263 264 265 266 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com