For Update 与 For Update of 区别
来源:互联网 发布:centos lnmp安装教程 编辑:程序博客网 时间:2024/05/29 04:14
1 :
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
锁定两个表的所有记录
4 :
select * from Table1 a join Table2 b on a.pkid=b.pkid where a.pkid = 10 for update
锁定两个表的中满足条件的行
5:
select * from Table1 a join Table2 b on a.pkid=b.pkid where a.pkid = 10 for update of a.pkid
只锁定Table1中满足条件的行
- For Update 与 For Update of 区别
- oracle 中 for update与for update of的区别
- PL/SQL-FOR UPDATE 与 FOR UPDATE OF的区别
- PL/SQL-FOR UPDATE 与 FOR UPDATE OF的区别
- For update 与For update of 的区别
- ORACLE FOR UPDATE与FOR UPDATE OF区别
- for update of 与for update 不同之处
- oracle-for update 与 for update of
- oracle-for update 与 for update of
- 数据库oracle for update of 和for update的区别
- 数据库 oracle for update of 和 for update区别
- 数据库oracle for update of和for update区别
- 数据库 for update of 和 for update区别。
- 数据库 oracle for update of 和 for update区别【经典】
- 数据库 oracle for update of 和 for update区别【经典】
- 数据库 oracle for update of 和 for update区别
- 数据库 oracle for update of 和 for update区别
- for update 和 for update of 有什么区别
- 网站设计风格及色彩搭配技巧
- SSL/TLS
- DeviceNet技术及其产品开发
- 关于OPC自动化接口编程(OPCDAAuto.dll)几点注意问题
- 带Checkbox的TreeView代码实例
- For Update 与 For Update of 区别
- 一些图像压缩方式的介绍和比较
- 发布,订阅的新手出错探究
- H.264 编码技术发展状况以及与MPEG-4 的比较分析
- JUnit 4教程
- Effective C++ 学习笔记:为含指针变量的类声明一个拷贝构造函数和一个赋值操作符
- 在。NET下使用断言
- MPEG2 TS小结
- How to use gprof