數據加載中……
          trigger
          create or replace trigger pm4h_hw_db.t_get_sys_bhstore
            after insert on pm4h_ad.sys_bhstore
          declare
            pragma autonomous_transaction;
            tablename varchar2(64);
            cursor cr is
              select bhtable from pm4h_ad.sys_bhstore where bhmodelid = 'TODBH';
          begin
            open cr;
            fetch cr
              into tablename;
            while cr%found loop
              if fun_is_exists_table(tablename) = 0 then
                pm4h_hw_db.create_bh_table(tablename);
              end if;
              fetch cr
                into tablename;
            end loop;
            close cr;
          end pm4h_hw_db.t_get_sys_bhstore;

          posted on 2011-09-07 16:45 陳碧滔 閱讀(118) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 沧源| 江都市| 隆尧县| 红桥区| 韩城市| 浮山县| 五大连池市| 德庆县| 榆中县| 厦门市| 西平县| 卫辉市| 洞头县| 南昌县| 凤台县| 时尚| 千阳县| 石首市| 茂名市| 黄山市| 诏安县| 阿瓦提县| 广西| 上高县| 华宁县| 霍山县| 科技| 团风县| 临潭县| 利津县| 拜城县| 启东市| 苍溪县| 汉阴县| 尚志市| 河曲县| 萝北县| 东阳市| 固始县| 福安市| 乌兰察布市|