![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ORACLE
beachman
这个作者很懒,什么都没留下…
展开
-
EXISTS、IN、NOT EXISTS、NOT IN的区别与性能分析
1.EXISTS的执行流程select * from t1 where exists ( select null from t2 where y = x)可以理解为:for x in ( select * from t1 )loopif ( exists ( select null from t2 where y = x.x )thenOUTPUT THE RECO原创 2011-06-14 11:27:00 · 514 阅读 · 0 评论 -
PLSQL中显示Cursor、隐示Cursor、动态Ref Cursor区别
今天简单的总结一下PL/SQL中cursor(光标/游标)的用法。相信不少做开发或维护的DBA在找工作的时候,遇到过类似的面视问题:请简单的描述一下光标的类型,说一下普通光标和REF光标之间的区别,以及什么时候该正确应用哪一个? 这个题目,我着实难住了不少人,其实转载 2011-08-01 16:04:50 · 356 阅读 · 0 评论