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
          主站蜘蛛池模板: 巴青县| 贡觉县| 宁武县| 富顺县| 城步| 邳州市| 和顺县| 巴彦淖尔市| 苏尼特左旗| 武威市| 基隆市| 黑水县| 舞钢市| 东台市| 阿荣旗| 富民县| 安乡县| 尉犁县| 虞城县| 大同县| 沾益县| 盖州市| 炎陵县| 棋牌| 庆云县| 民乐县| 搜索| 靖江市| 林州市| 洛浦县| 衡水市| 永城市| 西峡县| 井研县| 涟源市| 临邑县| 淅川县| 大田县| 寿宁县| 珲春市| 绥棱县|