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
Gouache painting of dents in a hallway rug with muddy boot prints and a vermilion-handled magnifying glass

Find Who Dropped a Table by Reading the Transaction Log

May 17, 2018
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Scripts, SQL Server, Transaction Log

To find who dropped a table, read the transaction log for the DROPOBJ transaction and look up the login behind its security ID. This post runs that search on a demo database, shows the default trace as a second source when the log has been truncated, and explains what to do when everyone shares one login.

Read More
A room key and a separate outer gate key show different access scopes.

SQL SERVER – Creating a Login and Database User Without Automatic Sysadmin Grants

May 16, 2018
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

To Create a Login and User, I separate the instance identity from database access. Database ownership and sysadmin membership have different scopes.

Read More
Gouache painting of a database beside a diagnostic checklist and tools

Recovery Pending State in SQL Server: Find Why Databases Go There at Random

May 15, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Log, Starting SQL

A Recovery Pending state means SQL Server could not finish opening a database, most often because it could not open a file. I reproduced two file errors on SQL Server 2025, show what each leaves in the error log, and explain how AUTO_CLOSE and antivirus scanning caused one client case.

Read More
SQL SERVER - FIX: Msg 22004 - The Log File is Not Using Unicode Format

SQL SERVER – FIX: Msg 22004 – The Log File is Not Using Unicode Format

May 14, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Agent, Transaction Log

The SQL Server Agent log would not open in SSMS and showed Msg 22004, the log file is not using Unicode format. Here is the setting that fixed it.

Read More
errorole

SQL SERVER – DPM Backup Failure – E_COORD_LOG_CHAIN_BROKEN – The Backup Failed Because of a Gap in The LSN the Log Files

May 12, 2018
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Server, SQL Server Security, Transaction Log

SQL SERVER – DPM Backup Failure – E_COORD_LOG_CHAIN_BROKEN – The Backup Failed Because of a Gap in The LSN the Log Files

Read More
A hand placing a missing red drill bit into the one empty slot of a drill bit case

SQL SERVER – Error: Could not Load File or Assembly Microsoft. SqlServer. management. sdk. sfc Version 12.0.0.0

May 11, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Management Studio

Could not load file or assembly errors come in many flavors. Here is how to read the assembly name and version in the message and fix the missing file.

Read More
An allocated chest has empty space inside while keeping its full shelf footprint.

SQL SERVER – How to Find Free Log Space in SQL Server?

May 8, 2018
Pinal Dave
SQL Tips and Tricks
SQL Activity Monitor, SQL Scripts, SQL Server, Transaction Log

Free Log Space is reusable capacity inside an allocated transaction log. I measure disk space and file size separately.

Read More
Previous 1 … 115 116 117 118 119 120 121 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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