/ ****************************************************************************** * Created on : 2017-5-30 17:12 * author : 硫酸亚铜 *需要在solution->Run Calculation->Options勾选Data Sampling for Time Statistics *否则会报错 ****************************************
create directory DIR_DUMP as '/oradata/data_dump'; CREATE OR REPLACE PROCEDURE anlp_to_txt IS testjiao_handle UTL_FILE.file_type; BEGIN testjiao_handle := UTL_FILE.FOPEN('DIR_DUMP','anlp.txt','w'); FOR x IN (SELECT * FROM sapsr3.ANLP) LOOP UTL_FILE.P