sp_droprowlockpromote

Description

Removes row lock promotion threshold values from a database or table.

Syntax

sp_droprowlockpromote {"database" | "table"}, objname

Parameters

database | table

specifies whether to remove the row lock promotion thresholds from a database or table.

objname

is the name of the database or table from which to remove the row lock promotion thresholds.

Examples

Example 1

Removes the row lock promotion values from the sales table. Lock promotion for sales now uses the database or server-wide values:

sp_droprowlockpromote "table", "sales"

Usage

Permissions

Only a System Administrator can execute sp_droprowlockpromote.

See also

System procedures sp_setrowlockpromote