How do you look up a default global table locking hint?
-- Questions
- Are there any DMV/DMF (Dynamic Management View/Function) that return such information?
- And also, is there a way to change the default lock hint?
Currently I am adding nolock
hint almost everywhere to prevent locks.
I'd like to avoid doing so by changing the default lock hint to nolock
so that existing stored procedures do not need to change.