GET { FIRST | NEXT | PREV | LAST | CURRENT } query [ SHARE-LOCK | EXCLUSIVE-LOCK | NO-LOCK ]
[ NO-WAIT ] |
QUERY-TUNING
|
Startup Parameter
|
NO-LOCK and fetched with
|
EXCLUSIVE-LOCK
|
SHARE-LOCK
|
|
NO-LOCK
|
|
Default Query-level lock
|
|
SHARE-LOCK and fetched with
|
EXCLUSIVE-LOCK
|
SHARE-LOCK
|
|
NO-LOCK
|
|
Default Query-level lock
|
|
Default lock and fetched with
|
EXCLUSIVE-LOCK
|
SHARE-LOCK
|
|
NO-LOCK
|
|
Default Query-level lock
|
|
NO-LOCK, SHARE-LOCK and fetched with
|
EXCLUSIVE-LOCK
|
SHARE-LOCK
|
|
NO-LOCK
|
|
Default Query-level lock
|
|
NO-LOCK, default lock (ABL), and fetched with
|
EXCLUSIVE-LOCK
|
SHARE-LOCK
|
|
NO-LOCK
|
|
Default Query-level lock
|
|
SHARE-LOCK, default lock (ABL), and fetched with
|
EXCLUSIVE-LOCK
|
SHARE-LOCK
|
|
NO-LOCK
|
|
Default Query-level lock
|
|
NO-LOCK, SHARE-LOCK, default lock (ABL), and fetched with
|
EXCLUSIVE-LOCK
|
SHARE-LOCK
|
|
NO-LOCK
|
|
Default Query-level lock
|
OPEN QUERY cust-query FOR EACH Customer NO-LOCK, EACH order of customer NO-LOCK.
GET NEXT cust-query EXCLUSIVE-LOCK. GET NEXT cust-query NO-LOCK. |
OPEN QUERY cust-query FOR EACH Customer NO-LOCK, EACH order of customer NO-LOCK.
GET NEXT cust-query NO-LOCK. GET NEXT cust-query EXCLUSIVE-LOCK. |