简单版本create or replace function hackeval(sqlstr varchar2)return varchar2 as PRAGMA AUTONOMOUS_TRANSACTION;begin execute immediate sqlstr;commit;return sqlstr;end; 控制异常版本 create or replace function hackeval(sqlstr varchar2)return varchar2 as PRAGMA AUTONOMOUS_TRANSACTION;begin execute immediate sqlstr;commit;return sqlstr;EXCEPTION WHEN OTHERS THEN return 'err';end;
ORACLE HACKER EVAL
最新推荐文章于 2021-04-13 11:24:43 发布