FOR update clause to obtain an update lock.
FOR update子句来获取更新锁定。
The update clause will ensure that an update lock is held on the selected rows.
更新子句将确保更新锁定在被选择的行上。
As a result, the DB2 update lock for the row is released and this row is found by the next SQL select statement in Listing 2.
因此,会释放这一行的DB2更新锁,清单2中的下一个SQL select语句会看到这一行。
应用推荐