v_outputfile Utl_File.File_Type; begin v_outputfile:=utl_file.fopen('C:\','log1.log','aw'); utl_file.putf(v_outputfile,'here! now is %s\n',to_char(patient_birthdate,'yyyy-mm-dd')); utl_file.fclose(v_outputfile);
我的数据库存在linux下。就是说要把c:\改为/data,是吧
提示:/* Source of PACKAGE BODY SYS.UTL_FILE is not available */
begin
v_outputfile:=utl_file.fopen('C:\','log1.log','aw');
utl_file.putf(v_outputfile,'here! now is %s\n',to_char(patient_birthdate,'yyyy-mm-dd'));
utl_file.fclose(v_outputfile);