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 閱讀(643) 評論(0)  編輯  收藏 所屬分類: DB
          主站蜘蛛池模板: 肥西县| 清河县| 楚雄市| 莎车县| 金华市| 蕉岭县| 靖边县| 蓬安县| 沙坪坝区| 盐边县| 临武县| 林州市| 嘉兴市| 库尔勒市| 疏附县| 闽侯县| 伽师县| 铁力市| 金塔县| 罗源县| 鹤峰县| 涞水县| 庐江县| 清镇市| 兰州市| 阿克陶县| 家居| 闽侯县| 高邮市| 崇明县| 宜春市| 平原县| 德江县| 丹棱县| 鄂州市| 龙游县| 宁河县| 延边| 剑川县| 峡江县| 长岭县|