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
A doorstop holding an unattended heavy door and preventing a rug from passing

Finding Long Open Transactions With sys.dm_tran_database_transactions

April 26, 2019
Pinal Dave
SQL Tips and Tricks
Shrinking Database, Spatial Database, SQL Transactions, System Database

A forgotten BEGIN TRAN can pin your log for hours. Here is how to find the owner, read its age, and confirm the transaction is the reason.

Read More
Goats crowding one narrow gate in a stone wall while a second gate with a red latch stands open

Memory-Optimized tempdb Metadata: Turning It On and Checking It

April 25, 2019
Pinal Dave
SQL Performance
In-Memory OLTP, SQL Performance, SQL Server 2019, SQL TempDB

Diagnose memory-optimized tempdb metadata candidates, plan the required restart, verify activation, and monitor contention and memory.

Read More
Three plain hourglasses with different sand levels stand beside a closed notebook on a wooden desk.

The Handful of Counters That Actually Matter

April 24, 2019
Pinal Dave
SQL Performance
Best Practices, Database, SQL Scripts, SQL Server

Make SQL Server monitoring useful by relating waits, batch activity, memory indicators, and file latency to the same workload and observation window.

Read More
Juggling clubs sharing the air while completed clubs rest on a padded mat

Peak Concurrency: The Busiest Moment From Start and End Times

April 23, 2019
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Counting sessions per day tells you nothing about overlap. Here is a small event-sweep query that finds the busiest moment, with the tie trap explained.

Read More
A red horseshoe magnet lifting screws and nails out of a pile of sawdust on a workbench

Pulling Values Out of Text With REGEXP_SUBSTR and REGEXP_INSTR

April 22, 2019
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

Extract codes with REGEXP_SUBSTR in SQL Server 2025, locate matches, select occurrences and capture groups, and validate text boundaries.

Read More
A round wooden piece fits its matching opening while other shapes need different openings

How to check the ANSI Compatibility of SQL Server Queries? – Interview Question of the Week #221

April 21, 2019
Pinal Dave
SQL Interview Questions and Answers
Compatibility Level, SQL Scripts, SQL Server

How do you check the ANSI compatibility of SQL Server queries? A client asked me this unique question, and the FIPS standard helps keep your code portable.

Read More
Gouache painting of a balcony with a cracked pot, a fresh pot and a vermilion planter box full of soil

Docker Volume for SQL Server: Keep Your Data Across Upgrades

April 20, 2019
Pinal Dave
SQL Tips and Tricks
Docker, PowerShell, SQL Data Storage, SQL Scripts

A Docker volume keeps SQL Server data outside the container, so you can replace the container and keep every database. This post creates a named volume, copies a backup into it and upgrades by starting a newer image on the same volume. It also covers the cautions that protect your data.

Read More
Previous 1 … 166 167 168 169 170 171 172 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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