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 - FIX – Property IsLocked is Not Available for Login

SQL SERVER – FIX – Property IsLocked is Not Available for Login

July 24, 2015
Pinal Dave
SQL Tips and Tricks
SQL Lock, SQL Scripts

Opening sa login properties in SSMS failed with Property IsLocked is not available for Login. I used Profiler to find the query returning NULL, and here is the fix.

Read More
A row of kitchen cupboard doors, one knob worn to bare brass and the paint around it rubbed pale.

Finding Hot Tables With sys.dm_db_index_usage_stats

October 7, 2014
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Lock, SQL Performance, SQL Server

Identify hot tables with index usage, lock and latch counters, table sizes, and retained snapshots that describe a real workload interval.

Read More
Blocked process report window.

SQL SERVER – Find Blocking Using Blocked Process Threshold  

June 30, 2014
Pinal Dave
SQL Tips and Tricks
SQL Activity Monitor, SQL Lock

My friend Jim came back with more blocking questions. Here is how the blocked process threshold option, a feature hidden in plain sight, helps find blocking.

Read More
A fridge door standing open at night, its light spilling across an empty kitchen

SET XACT_ABORT ON: Stopping Timeouts From Leaving Open Transactions

April 7, 2014
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Lock, SQL Server, SQL Transactions

Use SET XACT_ABORT ON to prevent client timeouts from leaving transactions and locks open, with TRY CATCH and a sleeping-session query.

Read More
A pumice stone is set aside so another hand can use the wooden handle

A Shrink That Stops Blocking Others: SHRINKFILE WAIT_AT_LOW_PRIORITY

March 29, 2014
Pinal Dave
SQL Tips and Tricks
Shrinking Database, SQL Lock, SQL Server DBCC

A shrink at 4 PM on Friday can block your whole app. See what the low-priority option does, and why shrinking is still a rare tool.

Read More
A chalk line reel beside a persistent blue mark and cord ready for another snap

The Outbox Table: Publishing Changes Reliably From a Transaction

March 4, 2014
Pinal Dave
SQL Tips and Tricks
Output Clause, SQL Lock, SQL Transactions

Orders commit and the message vanishes? Save both in one transaction, then let a worker claim, send and retry with a lease. Duplicates are still possible.

Read More
Two bumblebees at one red poppy, one landed and the other veering away.

Snapshot Isolation Update Conflicts: Handling Error 3960

May 25, 2013
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Lock, SQL Server, SQL Transactions, Transaction Isolation

Reproduce snapshot isolation update conflict error 3960, compare read committed snapshot, and retry the whole transaction safely.

Read More
Previous 1 2 3 4 5 6 7 … 9 Next
  • Books
  • Testimonials
  • Privacy Policy

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