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

Home -> Community -> Usenet -> c.d.o.server -> Procedure "fopen" in the utl_file package

Procedure "fopen" in the utl_file package

From: Lots-A-Pizza <slices17_at_ix.netcom.com>
Date: 1997/10/14
Message-ID: <3443fcdf.1865246@nntp.ix.netcom.com>#1/1

Hello!

I need some help here. I am trying to write a PL/SQL procedure that opens a file on the Oracle server and reads from it. We are running Oracle 7.3 on a Windows NT 4.0 server. I notice that there is a package that came with the RDBMS called UTL_FILE, and in that package there are a few file operation procedures. One of them is FOPEN. It is supposed to open a file for me, but I've had very little luck with it. I keep getting the UTL_FILE.INVALID_PATH exception raised.

Lets say I am trying to open the file "ray.txt" in the "d:\raytemp" directory. Can someone tell me how to properly specified the path and the file name?

Thanks in advance!

Ray Received on Tue Oct 14 1997 - 00:00:00 CDT

Original text of this message

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