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
SQL SERVER - Unable to Bring SQL Cluster Online - Reason: The Account is Disabled

SQL SERVER – Unable to Bring SQL Cluster Online – Reason: The Account is Disabled

May 21, 2018
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Server, SQL Server Cluster, SQL Server Management Studio, SQL Server Security

After security hardening, a client’s SQL cluster resource sat in Online Pending, then failed: the account is disabled. Here is how we found and fixed it.

Read More
Model dialog in sql server 2016 login properties.

SQL SERVER – SQL Server Cluster Resource Doesn’t Come Online Randomly

May 19, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Cluster, SQL System Table, SQL Trace, System Database

A client’s SQL Server Cluster Resource sometimes failed to come online after a failover to another node. Here is what caused it and how we fixed it.

Read More
Gouache painting of a train siding with a long loaded flatcar blocking a waiting vermilion wagon

How an Open Transaction Uses Free Log Space

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

An open transaction holds free log space hostage. This post runs one transaction in a SIMPLE recovery database and reads the log after the load and after the commit. It explains why the log grows before COMMIT, what ACTIVE_TRANSACTION means, and why a new FULL recovery database behaves like SIMPLE until its first full backup.

Read More
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

SQL SERVER – Databases Going to Recovery Pending State Randomly

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

RECOVERY_PENDING requires diagnosis of the resource or file-access problem. This client case involved AUTO_CLOSE and antivirus activity, not a universal repair.

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
Previous 1 … 114 115 116 117 118 119 120 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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