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 smaller cream spool sits beside a fresh sage spool, sample binding and prepared tool case.

SQL SERVER – Microsoft Official Support End Dates for Different Versions

July 15, 2019
Pinal Dave
SQL Tips and Tricks
SQL Documentation, SQL Server

SQL Server Support end dates belong in upgrade planning before the deadline. My original post followed the July 2019 support transition.

Read More
A beach volleyball net standing intact on smooth sand at dawn, every footprint around it washed away by the tide.

SCHEMA_ONLY vs SCHEMA_AND_DATA for Memory-Optimized Tables

July 12, 2019
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Log, SQL Memory, SQL Server

Compare SCHEMA_ONLY and SCHEMA_AND_DATA memory-optimized tables, inspect logging and recovery, and test an isolated offline-online cycle.

Read More
Title card: Wait Type: PARALLEL_BACKUP_QUEUE

SQL SERVER – What is Wait Type Parallel Backup Queue?

July 10, 2019
Pinal Dave
SQL Tips and Tricks
Parallel, SQL Backup and Restore, SQL Scripts, SQL Server, SQL Wait Stats

Only official documentation which I could find was about wait statistics related to Parallel Backup Queue is very little available online.

Read More
Asparagus shoots growing in close groups separated by a broad patch of bare soil

Sessionizing Events: Grouping Activity Into Sessions by Idle Gap

July 9, 2019
Pinal Dave
SQL Tips and Tricks
SQL Activity Monitor, SQL Extended Events, SQL Server

Your events have a user and a time but no visit ID. Here is how to infer sessions from an idle gap with LAG and a running sum.

Read More
Gouache painting of two matching teapots wearing each other's lids, one lid vermilion

Logical Name Mismatch: master_files vs database_files

July 8, 2019
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL DMV, SQL Error Messages, SQL System Table

A logical name mismatch means sys.master_files and sys.database_files disagree about a file name. A tested demo shows both views on one server, and a script checks every database. The post explains the secondary replica case and its fix.

Read More
Gouache painting of a jammed grain chute in a barn with sacks piled high and the top sack in vermilion

sysxmitqueue in msdb: Why It Grows and How to Clear It

July 6, 2019
Pinal Dave
SQL Tips and Tricks
Service Broker, SQL Scripts, SQL Server, System Database

Sysxmitqueue in msdb fills up when Service Broker messages cannot leave the server. A tested demo in its own database shows the pile, the reason, a one conversation cleanup and the NEW_BROKER reset. The msdb steps follow the same order.

Read More
Gouache painting of key-marked folders copied between database cabinets with a duplicate-key warning

DBCC CLONEDATABASE Error Msg 2601: Cannot Insert Duplicate Key Row in sys.sysowners

July 5, 2019
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server DBCC, SQL Server Security

A DBCC CLONEDATABASE error that names sys.sysowners points at a database user name, not at the database owner. The queries here find the conflicting user in model and in the source database, and I tested them on SQL Server 2025 along with a clean clone.

Read More
Previous 1 … 74 75 76 77 78 79 80 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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