数据库oracle for update of和for update区别
对比区别:
select * from TTable1 for update 锁定表的所有行,只能读不能写
2 select * from TTable1 where pkid = 1 for update 只锁定pkid=1的行
3 select * from Table1 a join Table2 b on a.pkid=b.pkid for update 锁定两个表的
转载
2015-12-04 08:27:30 ·
487 阅读 ·
0 评论