Oracle 锁

select  for update对某行加锁之后;

select语句可以执行;

select  for update 这行不可以;

  会一直等待锁释放

select for update wait 3      3秒之后会报异常

update 这行会一直等待。

原文地址:https://www.cnblogs.com/tengpan-cn/p/5149192.html