Oracle行级锁和表级锁

Oracle行级锁和表级锁
行级锁:
select * from abin1 t where t.id=21 for update;

表级锁:
lock table abin1 IN EXCLUSIVE MODE (nowait);

你可能感兴趣的:(Oracle行级锁和表级锁)