REMOVELOCKS

Removes any locks that a specified user has acquired through a spreadsheet operation.

Syntax

REMOVELOCKS userNumber
ParameterDescription

userNumber

Login ID of the user for whom you are removing locks.

Notes

This command removes locks acquired through a spreadsheet operation. Removing locks is sometimes required for maintenance-related activities. Removing a user’s lock forces a logout of that user’s session. To display the list of users who have locks, use LISTLOCKS.

Example

To remove all locks that are held by user number 1 on the currently selected database:

REMOVELOCKS 1;