Interview Questions

1. How can we disable Lock escalation in SQL Server?

With SQL Server 2008 you can also specify escalation rules on the table level with ALTER TABLE SET LOCK_ESCALATION statement. There are 3 available modes:

  • DISABLE – lock escalation on specific table is disabled
  • TABLE (default) – default behavior of lock escalation – locks are escalated to the table level.
  • AUTO – if table is partitioned, locks would be escalated to partition level when table is partitioned or on table level if table is not partitioned
By Hena Parveen 2 0
Is this helpful? Yes No

Submit an interview question

Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.

Get Started

Comments

Leave a Comment


Check out more interview questions

Based on your skills

MS SQL Server

1662728 1720 23 859

Angular

42496 92 0 46

Wordpress

34319 72 1 36