Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> NEWBIE; cannot write to a file
Not able to write a simple message to a file.
1 DECLARE
2 output_file UTL_FILE.FILE_TYPE; 3 BEGIN 4 output_file := UTL_FILE.FOPEN('C:\','tomout.txt','w'); 5 UTL_FILE.PUT_LINE( output_file,'write to a file'); 6 UTL_FILE.FCLOSE(output_file); 7* END;
ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "SYS.UTL_FILE", line 88 ORA-06512: at "SYS.UTL_FILE", line 146 ORA-06512: at line 4Received on Mon Jul 19 1999 - 14:25:24 CDT
![]() |
![]() |