日期:2014-05-16  浏览次数:20416 次

先查询后插入
   insert into INF_REL_OPE (
     select '10000' oper_id,t.* ,0.00 FEE_VALUE,1 IS_ALLOW,0 OPER_OPER_ID,sysdate oper_time from  (select privilege_id from INF_PR where PRIVILEGE_NAME like 'BILLING%' order by privilege_id) t
     union all
     select '10001' oper_id,t.* ,0.00 FEE_VALUE,1 IS_ALLOW,0 OPER_OPER_ID,sysdate oper_time from  (select privilege_id from INF_PR where PRIVILEGE_NAME like 'BILLING%' order by privilege_id) t
     )