select for update

Summary information

Default value

0 (off)

Valid values

0 (off), 1(on)

Status

Dynamic

Display level

Comprehensive

Required role

System administrator

Configuration group

Application Functionality

select for update enables Adaptive Server to exclusively lock rows for subsequent updates within the same transaction, and for updatable cursors, preventing other concurrent tasks from updating these rows and from blocking the subsequent update

See “Queries: Selecting Data from a Table” in the Transact-SQL Users Guide.