create or replace procedure p_outputdebug(a varchar2,b varchar2,c varchar2)is vFileName varchar2(100); OutputFile UTL_FILE.FILE_TYPE;begin select 'rfid_'||a.rfid||'.log' into vFileName from tbl_animal_info a where a.rfid='330100000078176' ; OutputFil…
方法一: 比如要查看解释计划的SQL是:select * from hy_emp 那么在输入窗口输入: EXPLAIN PLAN FOR select * from hy_emp 之后执行,输出窗口会出现 Explained. 字样,如下图: 之后执行select * from table(dbms_xplan.display); 如下: 总结步骤如下: 执行: EXPLAIN PLAN FOR SELECT * from * where.... 再执行: select * from table…