To diagnose a locking issue in the database it may be useful to know the contents of the rows that are locked. You can view the locks currently held in the database using either the sa_locks system procedure, or using the Locks tab in Sybase Central. Both methods provide the information you need, including the connection holding the lock, lock duration, and lock type.
Due to the transient nature of locks in the database, the rows visible in Sybase Central, or returned by the sa_locks system procedure may no longer exist by the time a query completes.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0|