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 fern frond pressed under glass on sun-print paper, its exact pale outline captured on the blue sheet.

Capturing Actual Execution Plans From a Script With SET STATISTICS XML

May 1, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Scripts, SQL Server, SQL XML

Capture actual plans with SET STATISTICS XML, save the extra result safely, inspect runtime fields, and compare last-known plan statistics.

Read More
A small desk organizer holds neatly arranged pencils beside a plain adjustable reading lamp.

Ten SSMS Settings Worth Changing on Day One

April 29, 2019
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Review ten SSMS settings for safer connections, clearer results, useful plans, and recoverable query text before starting your everyday work.

Read More
Different chairs surround one table, with a distinct chair at its head

How I Know If I am DBOWNER or Not in SQL Server? – Interview Question of the Week #222

April 28, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Server Security

How do I know if I am DBOWNER or not in SQL Server? A DBA worried about permissions before my changes, so we ran this simple script to check db_owner membership.

Read More
An archery target with four nested rings in a field, one arrow in the red center and others in outer rings

Period-to-Date Totals: Today, Week, Month and Year in One Scan

April 27, 2019
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Reports, SQL Server

Calculate period-to-date totals with shared scan boundaries, Monday-based weeks, and older date arithmetic for SQL Server reports.

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
Previous 1 … 82 83 84 85 86 87 88 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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