为什么在PL / SQl ORACLE中使用游标? [英] Why using cursors in PL/SQl ORACLE?

查看:77
本文介绍了为什么在PL / SQl ORACLE中使用游标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是初学者在PL / SQL,在研究过程中我播种了 CURSOR ,我想知道为什么我们应该使用光标 , 什么时候?非常感谢

i'm beginner at PL/SQL, and during studing course i sow CURSOR and i want to know why we should use cursor, and when? thank you very much

推荐答案

在这里,您将找到有关使用游标的原因和位置的一些解释:http://en.wikipedia.org/wiki/SQL_problems_requiring_cursors



参见:http://en.wikipedia.org/wiki/Cursor_(databases) (并注意缺点部分)。



此外,在PL / SQL文档中: http://www.oracle.com/technetwork/issue-archive/2013/13-mar/o23plsql-1906474.html



-SA
Here, you will find some explanation on why and where to use cursors: http://en.wikipedia.org/wiki/SQL_problems_requiring_cursors.

See also: http://en.wikipedia.org/wiki/Cursor_(databases) (and pay attention for "disadvantages" section).

And also, in PL/SQL documentation: http://www.oracle.com/technetwork/issue-archive/2013/13-mar/o23plsql-1906474.html.

—SA


这篇关于为什么在PL / SQl ORACLE中使用游标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆