Returns the locking scheme of the specified object as a string.
lockscheme(object_name)
lockscheme(object_id [, db_id])
select lockscheme("titles")
select lockscheme(224000798, 4)
select lockscheme(tempdb.ownerjoe.titles)
lockscheme returns varchar(11) and allows NULLs.
Do not provide a fully qualified object_name.
Do not provide a db_id.
Provide a null for db_id.
If the specified object is not a table, lockscheme returns the string “not a table.”
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute lockscheme.