Sets partition-lock promotion thresholds at the server, database, and table level.
sp_setpglockpromote_ptn "server", null, new_lwm, new_hwm, new_pctThe syntax for setting the partition lock promotion threshold at the database or table level is:
sp_setpglockpromote_ptn "database | table", objname, new_lwm, new_hwm, new_pct
sp_setpglockpromote_ptn "server", NULL, 200, 300, 50
sp_setpglockpromote_ptn "database", master, 1000, 1100, 45
sp_setpglockpromote_ptn "table", "pubs2..titles", 500, 700, 10
Any user can execute sp_setpglockpromote_ptn.