sp_chgattribute

The pnt_locking table attribute enables and disables partition level locking with sp_chgattrbute. By default, partition locking is disabled.

Syntax

sp_chgattribute  objectname, 'ptn_locking’, value 

Parameters

Examples

Permissions

Only the object owner can execute sp_chgattribute.