sql server transaction nolock code example Example: SQL nolock SELECT * FROM LockTestDemo WITH (NOLOCK)