Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Using UTL_FILE
The most important point to bear in mind if you do follow this advice is that anyone allowed to use the utl_file package is then able to destroy the database.
If by 'local' you mean you want the PL/SQL to run on the server, but the file to appear on the client machine, then you can't do it through simple coding methods. Remember that the PL/SQL is running on the server under the server's Oracle account, and using utl_file may only write to directories that appear to be on the server and writable by the Oracle account, and are listed in utl_file_dir.
-- Jonathan Lewis Seminars on getting the best out of Oracle Last few places available for Sept 10th/11th See http://www.jlcomp.demon.co.uk/seminar.html Christof Kaiser wrote in message <3B77A421.71DF40E7_at_logiball.deREMOVETHIS>...Received on Mon Aug 13 2001 - 05:34:10 CDT
>
>
>carlog wrote:
>
>> hi all,
>> only a little question, is possibile write an output file from PL/SQL and
>> save data into a local directory, but i don't want use the path stored in
>> 'utl_file_dir' parameter.
>
>dont know if it helps, but you could set 'utl_file_dir' to '*' and be free
>where to put your output files.
>
>christof
>