摘要: 1 -- 声明游标;CURSOR cursor_name IS select_statement 2 3 --For 循环游标 4 --(1)定义游标 5 --(2)定义游标变量 6 --(3)使用for循环来使用这个游标 7 declare 8 --类型定义 9 cursor c_job 10 is 11 select empno,ename,job,sal 12 from emp 13 where job='MANAGER'; 14 --定义一个游标变量v_cinfo c... 阅读全文
posted @ 2013-08-06 11:29 Public_String 阅读(193) 评论(0) 推荐(0) 编辑
摘要: ORACLE 存储过程 阅读全文
posted @ 2013-08-06 09:38 Public_String 阅读(303) 评论(0) 推荐(0) 编辑