The topic describes the DF215 T-SQL code analysis rule.
BEST PRACTICE
Locking hint is used.
Locking hints should be used with caution. Please review the query.
The rule is applied to:
SELECT id FROM dbo.DemoTable WITH(TABLOCKX)
GO
SELECT id FROM dbo.DemoTable
GO