DreamWorks

Never say Never。
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年3月31日

摘要: 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 @ 2014-03-31 10:54 _Babyface 阅读(256) 评论(0) 推荐(0)