Title: 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-----
From: Jamadagni, Rajendra [mailto:[EMAIL PROTECTED]
Sent: 17 March 2003 14:56
To: 'John Dunn'
Subject: RE: utl_file_dir and 9i

John,
 
http://technet.oracle.com/docs/products/oracle9i/doc_library/release2/appdev.920/a96612/u_file.htm#998235
 
Raj
-------------------------------------------------------------
Rajendra dot Jamadagni at espn dot com
Any views expressed here are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !!
-----Original Message-----
From: John Dunn [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 4:03 AM
To: Jamadagni, Rajendra
Subject: RE: utl_file_dir and 9i

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-----
From: Jamadagni, Rajendra [mailto:[EMAIL PROTECTED]
Sent: 14 March 2003 13:09
To: Multiple recipients of list ORACLE-L
Subject: RE: utl_file_dir and 9i

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
-------------------------------------------------------------
Rajendra dot Jamadagni at espn dot com
Any views expressed here are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !!


-----Original Message-----
From: John Dunn [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 14, 2003 4:44 AM
To: Multiple recipients of list ORACLE-L
Subject: utl_file_dir and 9i


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.net
--
Author: John Dunn
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to