从网上摘抄下面代码,目的是为了讲查询数据导出为CSV文件
create or replace procedure out-to-csv(P_QUERY IN VARCHAR2,P_DIR IN VARCHAR2,P_FILENAME IN VARCHAR2) iscreate or rep