Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: utl_file_dir and 9i
Raj
Thanks for that. I notice that even using CREATE DIRECTORY method, it it still not posible to specify a parent directory and then have access to sub directories. Each directory must be specified in a CREATE DIRECTORY statement.
In our case, as we need to access a large number(hundreds) of sub directories, that we will need to issue large numbers of CREATE DIRECTORY statements.
Is this likely to cause any issues with Oracle?
John
-----Original Message-----
Sent: 17 March 2003 14:56
To: 'John Dunn'
John,
http://technet.oracle.com/docs/products/oracle9i/doc_library/release2/appdev
.920/a96612/u_file.htm#998235
<http://technet.oracle.com/docs/products/oracle9i/doc_library/release2/appde
v.920/a96612/u_file.htm#998235>
Raj
-----Original Message-----
Sent: Monday, March 17, 2003 4:03 AM
To: Jamadagni, Rajendra
Raj
Thanks for this. This looks the way to go. However, I am struggling to find an example.
If you can point me at an example, I would be grateful
T.I.A
John
-----Original Message-----
Sent: 14 March 2003 13:09
To: Multiple recipients of list ORACLE-L
John,
In 9i, Oracle is recommending that you make use of 'CREATE DIRECTORY' rather than UTL_FILE_DIR ... firstly because a directory can be created dynamically, so to adda new sub-directory you don't have to bounce the instance.
Plus instead of '*', you can dynamically create directory ... read/write and drop the directory if you wish.
I'd recommend you make use of this feature John, because UTL_FILE_DIR might just go away .... because of its limitations.
Raj
-----Original Message-----
<mailto:john.dunn_at_sefas.co.uk> ]
Sent: Friday, March 14, 2003 4:44 AM
To: Multiple recipients of list ORACLE-L
In 8i we set utl_file_dir = "*" because otherwise we have to specify lots of
individual directories. It was not possible to just specify a top level directory.
Has this changed in 9i? Is it possible to specify a top level directory and then utl_file can write to subdirectories?
John
-- Please see the official ORACLE-L FAQ: http://www.orafaq.netReceived on Thu Mar 27 2003 - 02:38:51 CST
<http://www.orafaq.net>
-- Author: John Dunn INET: john.dunn_at_sefas.co.uk Fat City Network Services -- 858-538-5051 http://www.fatcity.com
<http://www.fatcity.com>
San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: John Dunn INET: john.dunn_at_sefas.co.uk Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).