Skip to main content

UNLOCK TABLES

Description

This statement is used to release all table locks held by the current session.

Limitations and Considerations

UNLOCK TABLES does not commit transactions.

Syntax

UNLOCK {TABLE | TABLES};

Syntax Description

FieldDescription
UNLOCK {TABLE | TABLES}Releases all table locks held by the current session. UNLOCK TABLE is a synonym for UNLOCK TABLES.

Examples

Release all table locks held by the current session.

UNLOCK TABLES;

References

LOCK TABLES