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
          主站蜘蛛池模板: 合水县| 西城区| 防城港市| 南充市| 石棉县| 乌审旗| 太康县| 古蔺县| 麟游县| 安泽县| 永昌县| 吉林市| 桦南县| 全椒县| 霍林郭勒市| 左权县| 新源县| 乌兰县| 礼泉县| 宝丰县| 塔河县| 台北县| 通道| 荣昌县| 吴江市| 保定市| 上蔡县| 柳河县| 曲麻莱县| 贵溪市| 阿瓦提县| 抚远县| 天水市| 鄢陵县| 岑巩县| 阿巴嘎旗| 西林县| 鹤庆县| 保德县| 修水县| 黎川县|