This Is A FineDay

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            93 隨筆 :: 0 文章 :: 69 評論 :: 0 Trackbacks
          declare cursor c1 is select * from t_depart; type v_depart_type is table of t_depart%rowtype ; v_depart v_depart_type ; begin open c1; fetch c1 bulk collect into v_depart ; --limit batch_cnt; for i in 1..v_depart.count loop dbms_output.put_line(v_depart(i).depart_code||' '|| v_depart(i).depart_name); end loop; close c1; end;
          posted on 2011-02-22 11:39 Peter Pan 閱讀(645) 評論(0)  編輯  收藏 所屬分類: DB
          主站蜘蛛池模板: 如东县| 大厂| 阿拉善左旗| 衡东县| 兰考县| 康保县| 平塘县| 武乡县| 尚志市| 宝丰县| 津市市| 梁平县| 洪江市| 西华县| 蒲江县| 莒南县| 慈溪市| 文安县| 古浪县| 满城县| 囊谦县| 惠水县| 临海市| 泽库县| 竹溪县| 鲜城| 香格里拉县| 长宁县| 徐汇区| 攀枝花市| 启东市| 镇沅| 东至县| 宁陕县| 景谷| 绥滨县| 胶南市| 济宁市| 织金县| 黔西县| 广元市|