原创 鎖定數據行 for update和for update nowait
鎖定數據行select * from emp t where t.deptno='20' for update nowait;這樣就鎖定了emp表中deptno = 20的那行數據注意:通過for update鎖定後,這些行不能修改了,但
鎖定數據行select * from emp t where t.deptno='20' for update nowait;這樣就鎖定了emp表中deptno = 20的那行數據注意:通過for update鎖定後,這些行不能修改了,但