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

Home -> Community -> Usenet -> c.d.o.misc -> Re: problem of sys.utl_file.fopen

Re: problem of sys.utl_file.fopen

From: Giridhar <gkodakalla_at_gmail.com>
Date: 29 Dec 2005 07:48:54 -0800
Message-ID: <1135871334.074136.18720@g44g2000cwa.googlegroups.com>


Hi,
Prior to oracle 9i, we need to have that 'C:\temp' in utl_file_dir parameter. Hence please verify if your utl_file_dir has this value set. You can check in this way in SQL*Plus command prompt.

---> show parameter utl_file

>From oracle 9i, you need not have the directory where you store the
files as 'utl_file_dir' parameter. You can associate this to Oracle object DIRECTORY. Hence if you dont have it as 'utl_file_dir' you can check if the directory is created for you and whether that directory has this 'C:\temp' associated with it.
You can check as follows:
select * from all_directories where directory_path = 'Your directory path goes here'

If both are fine, i suspect whether the Oracle user which creates/reads the files has access to that folder C:\temp.

Regards,
Giridhar Received on Thu Dec 29 2005 - 09:48:54 CST

Original text of this message

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