The database manager automatically rolls back one of the transactions, either the one in the first session or the one in the second session.
数据库管理器自动回滚其中一个事务,第一个会话中的或第二个会话中的。
In the first session (we will refer to it as SESSION1), one will be executing the query.
在第一个会话中(称为SESSION1),我们将执行这个查询。
In the first session, execute the UPDATE statement shown in Listing 16, which places an exclusive lock on the row with department number B01.
在第一个会话中,执行清单16中的update语句,它对部门号为B01的部门行设置独占锁。
应用推荐