Compliance with SQL standards  Syntax of the lock table command

Chapter 20: Transactions: Maintaining Data Consistency and Recovery

Using the lock table command to improve performance

The lock table command allows you to explicitly request that before a table is accessed, a table lock be put on it for the duration of a transaction. This is useful when an immediate table lock may reduce the overhead of acquiring a large number of row or page locks and save locking time. Examples of such cases are:





Copyright © 2005. Sybase Inc. All rights reserved. Syntax of the lock table command

View this book as PDF