Skip to content

Commit 8149aff

Browse files
authored
Merge pull request #6996 from carenrose/patch-1
Added missing space in "SET LOCK_TIMEOUT"
2 parents 963c71f + 7b21810 commit 8149aff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/t-sql/queries/hints-transact-sql-table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ Is equivalent to READUNCOMMITTED. For more information, see READUNCOMMITTED late
258258
> For UPDATE or DELETE statements: [!INCLUDE[ssNoteDepFutureAvoid](../../includes/ssnotedepfutureavoid-md.md)]
259259
260260
NOWAIT
261-
Instructs the [!INCLUDE[ssDE](../../includes/ssde-md.md)] to return a message as soon as a lock is encountered on the table. NOWAIT is equivalent to specifying `SET LOCK_TIMEOUT 0` for a specific table. The NOWAIT hint does not work when the TABLOCK hint is also included. To terminate a query without waiting when using the TABLOCK hint, preface the query with `SETLOCK_TIMEOUT 0;` instead.
261+
Instructs the [!INCLUDE[ssDE](../../includes/ssde-md.md)] to return a message as soon as a lock is encountered on the table. NOWAIT is equivalent to specifying `SET LOCK_TIMEOUT 0` for a specific table. The NOWAIT hint does not work when the TABLOCK hint is also included. To terminate a query without waiting when using the TABLOCK hint, preface the query with `SET LOCK_TIMEOUT 0;` instead.
262262

263263
PAGLOCK
264264
Takes page locks either where individual locks are ordinarily taken on rows or keys, or where a single table lock is ordinarily taken. By default, uses the lock mode appropriate for the operation. When specified in transactions operating at the SNAPSHOT isolation level, page locks are not taken unless PAGLOCK is combined with other table hints that require locks, such as UPDLOCK and HOLDLOCK.

0 commit comments

Comments
 (0)