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

SQL Anywhere 12.0.0 » SQL Anywhere Server - SQL Usage » Using transactions and isolation levels » How locking works

 

Locking 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 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