随笔分类 -  oracle 基础

刚开始学习oracle
oracle 函数
摘要:1.多行单列 wm_concat(列) 阅读全文
posted @ 2012-03-19 09:28 loonnet 阅读(114) 评论(0) 推荐(0)
(转) 数据库 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 锁定两个表的所有记录 4 select * from Table1 a join Table2 b on a.pkid=b.pkid where a.pkid = 10 for update 锁定两个表的中满足条件的行 5.... 阅读全文
posted @ 2011-10-26 22:52 loonnet 阅读(2539) 评论(0) 推荐(0)