Removes lock promotion values from a table or database.
sp_dropglockpromote {"database" | "table"}, objname
specifies whether to remove the lock promotion thresholds from a database or table. The quotes are required because these are Transact-SQL keywords.
is the name of the table or database from which to remove the lock promotion thresholds.
Removes the lock promotion values from titles. Lock promotion for titles now uses the database or server-wide values:
sp_dropglockpromote "table", titles
Use sp_dropglockpromote to drop lock promotion values set with sp_setpglockpromote.
When you drop a database’s lock promotion thresholds, tables that do not have lock promotion thresholds configured will use the server-wide values.
When a table’s values are dropped, Adaptive Server uses the database’s lock promotion thresholds if they are configured or the server-wide values if they are not.
Server-wide values can be changed with sp_setpglockpromote, but cannot be dropped.
Only a System Administrator can execute sp_dropglockpromote.
Values in event and extrainfo columns from the sysaudits table are:
Event |
Audit option |
Command or access audited |
Information in extrainfo |
---|---|---|---|
38 |
exec_procedure |
Execution of a procedure |
|
System procedures sp_setpglockpromote