先定义:
cursor cur_name is select a,b,c from tab_name
where ...... ;
open cur_name;
loop
fetch cur_name;
end loop;
close cur_name;在oracle的游标里面没有页的概念
cursor cur_name is select a,b,c from tab_name
where ...... ;
open cur_name;
loop
fetch cur_name;
end loop;
close cur_name;在oracle的游标里面没有页的概念
解决方案 »
- select count(*)很慢
- 如何将oracle中的表结构导出到word文件中
- [color=#FF0000](+)[/color]是什么意思,
- 直接通过SQL语句能否select出的结果集保存成文件
- 在线急等!!!!oracle存储过程怎么一直提示Parameter 'v_UserID' is declared but never used in 'forums_PrivateMessages_Get'???
- 急!在线等求个sql
- 100分求助高手:请问如何导出数据库中每张表的前100行???
- 恢复删掉的表空间_关于数据库的恢复(发言就有分)
- jdbc连接orcale的问题?
- 请给一个按月份统计的Oracle存储过程的例子,马上结贴!
- 有关台帐的讨论,做过的和没做过的都进来说两句.
- 关于链接数据库的问题?在线等待!谢谢帮忙!
deallocate cur_name吗?
把这道题加到100分吧