Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Using UTL_FILE

Re: Using UTL_FILE

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: 9 Aug 2001 18:27:34 -0700
Message-ID: <9kvda601gpt@drn.newsguy.com>

In article <ygCc7.1614$Xf5.60065_at_news.infostrada.it>, "carlog" says...
>
>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.
>
>thank in advance
>
>carlo
>
>
>

no, utl_file will explicitly only write/read from directories specified in the utl_file_dir init.ora parameter.

This is to prevent someone from doing something like:

utl_file.fopen( '/export/home/oracle/oradata/mysid/system.dbf', 'w' );

and erasing the sytem datafile for example.

--
Thomas Kyte (tkyte@us.oracle.com)             http://asktom.oracle.com/ 
Expert one on one Oracle, programming techniques and solutions for Oracle.
http://www.amazon.com/exec/obidos/ASIN/1861004826/  
Opinions are mine and do not necessarily reflect those of Oracle Corp 
Received on Thu Aug 09 2001 - 20:27:34 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US