Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - SQL Usage » Transactions and isolation levels » How locking works

 

Locks during queries

The locks that SQL Anywhere uses when a user enters a SELECT statement depend on the transaction's isolation level. All SELECT statements, regardless of isolation level, acquire shared schema locks on the referenced tables.

 SELECT statements at isolation level 0
 SELECT statements at isolation level 1
 SELECT statements at isolation level 2
 SELECT statements at isolation level 3
 SELECT statements and snapshot isolation
 See also