HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Options for dumping Oracle queries to text files with no database server filesystem access

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
dumpingwithtextoptionsdatabasefilesystemfilesforserverqueries

Problem

I've an application currently producing reports using UTL_FILE and DIRECTORY. We are migrating this application to an environment in which there will be no filesystem access on the database server (including mounts).

One option is to use SQL*Plus on the client to produce the file.

Any suggestions for a low-key reporting tool designed for producing text-file output?

Thanks for any help.

Solution

You could email them with UTL_MAIL or POST them to another server with UTL_HTTP

Alternatively, save the complete reports as a clob in a table and query from any client - this is a little more work as you'll have to rewrite your reporting procedures, but is still easier than starting from scratch on the client.

Context

StackExchange Database Administrators Q#4920, answer score: 3

Revisions (0)

No revisions yet.