Positioning Explicit Lock Requests - Teradata Database

SQL Data Manipulation Language

Product
Teradata Database
Release Number
15.10
Language
English (United States)
Last Update
2018-10-06
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata® Database

Positioning Explicit Lock Requests

When you need to place an explicit lock, the LOCKING modifier must precede the SQL request that is to be affected by the requested lock.

The system places the requested lock on the object referenced by the LOCKING modifier for the duration of the transaction containing the modified SQL request. If the transaction is a single‑statement request, then the specified lock is only in effect for the duration of the request.