數(shù)據(jù)加載中……
          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 陳碧滔 閱讀(119) 評論(0)  編輯  收藏


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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 呈贡县| 新沂市| 蓝山县| 西乌| 刚察县| 康定县| 南昌市| 左贡县| 上思县| 疏附县| 淳安县| 新干县| 临湘市| 偃师市| 信宜市| 荥经县| 蒙山县| 岳阳县| 巫溪县| 成安县| 翼城县| 玛多县| 永靖县| 从化市| 侯马市| 崇文区| 盐津县| 文成县| 西藏| 固始县| 睢宁县| 施甸县| 乌兰浩特市| 襄樊市| 中超| 宣城市| 马尔康县| 鸡泽县| 都昌县| 邵阳县| 德江县|