joekeri
asked on
ORacle 10g- Client_text_io
I have a TXT file that resides on a desktop. A 10g Form reads that text file and populates a database table.
I suspect that I need to use CLIENT_TEXT_IO rather than UTIL_FILE.
Can anyone confirm this and also provide a link to CLIENT_TEXT_IO
I suspect that I need to use CLIENT_TEXT_IO rather than UTIL_FILE.
Can anyone confirm this and also provide a link to CLIENT_TEXT_IO
if the file is not availale on the same machine where your database is, then utl_file will not be able to read that. you need to check where your text file is and the solution depends on that.
ASKER
My TXT file is located on the database server. The user has a shortcut to the directory and they place the file in there there. I also create an oracle directory to point to it.
I am not an expert in forms, however I know that you can use stored proc in forms, and if your file is on the server, you can effectively use it to load data in a table. If you want to see the examples of how to use utl_file, check following link:
http://psoug.org/reference/utl_file.html
http://psoug.org/reference/utl_file.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.