Scalable Database Server, HiRDB Version 8 UAP Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
3.4.8 Lock sequence based on SQL statement and index types
(1) Lock sequence of data manipulation SQL statements for index key values and data page rows
(a) INSERT statement
![[Figure]](FIGURE/ZU030408.GIF)
(b) DELETE statement that does not use a cursor or UPDATE statement to search for data matching a condition
![[Figure]](FIGURE/ZU030409.GIF)
(c) DELETE statement that uses a cursor
![[Figure]](FIGURE/ZU030410.GIF)
(d) UPDATE statement that uses a cursor
![[Figure]](FIGURE/ZU030411.GIF)
(e) SELECT or FETCH statement
![[Figure]](FIGURE/ZU030412.GIF)
![[Figure]](FIGURE/ZU03041A.GIF)
![[Figure]](FIGURE/ZU030413.GIF)
(2) Lock sequence of data manipulation SQL statements when non-locking of index key values is used
(a) INSERT statement
![[Figure]](FIGURE/ZU030415.GIF)
(b) DELETE statement that does not use a cursor or UPDATE statement to search for data matching a condition
![[Figure]](FIGURE/ZU030416.GIF)
(c) DELETE statement that uses a cursor
![[Figure]](FIGURE/ZU030417.GIF)
(d) UPDATE statement that uses a cursor
![[Figure]](FIGURE/ZU030418.GIF)
(e) SELECT or FETCH statement
![[Figure]](FIGURE/ZU030419.GIF)
![[Figure]](FIGURE/ZU030420.GIF)
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.