web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Disable lock escalation

(0) ShareShare
ReportReport
Posted on by 8

Hi,

Please i want to disable lock escalation on a table.

Can somebody help me on how to do that?

thanks

I have the same question (0)
  • Anton Venter Profile Picture
    20,656 Super User 2026 Season 1 on at

    Hi,

    I assume that you want to disable lock escalation on a standard table because it cannot be done using extensions. Can you give us more information about your situation? Have you analysed why you are getting locks?

  • foaghana1 Profile Picture
    8 on at

    i duplicated a standard table. ad i want to do it on that

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    This might help you. Please have a look.

    community.dynamics.com/.../manipulate-locking-on-table-indexes

  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at

    Hi,

    Although it's possible to disable lock escalation in SQL Server, we don't recommended it. Instead, use the prevention strategies.

    If you want to disable lock escalation:

    Table level: You can disable lock escalation at the table level via ALTER TABLE mytable SET(LOCK_ESCALATION=DISABLE).

    See ALTER TABLE (Transact-SQL) - SQL Server | Microsoft Learn To determine which table to target, examine the T-SQL queries.

    If that's not possible, use Quickstart: Extended Events in SQL Server - SQL Server | Microsoft Learn, enable the lock_escalation event, and examine the object_id column.

     Alternatively use the Lock:Escalation Event Class - SQL Server | Microsoft Learn and examine the column by using SQL Profiler.

    Best Regards,

    Hana

  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    We haven't heard from you for a long time. Has your issue been resolved? If so, please mark the issue as verified.  Thanks a lot!
    Best Regards,
    Hana

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 468 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 333 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans