sp_dropglockpromote

Description

Removes lock promotion values from a table or database.

Syntax

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

Parameters

database | table

specifies whether to remove the lock promotion thresholds from a database or table. The quotes are required because these are Transact-SQL keywords.

objname

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

Examples

Example 1

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

sp_dropglockpromote "table", titles

Usage

Permissions

Only a System Administrator can execute sp_dropglockpromote.

See also

System procedures sp_setpglockpromote