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 -> Re: Oracle Built in Packages?

Re: Oracle Built in Packages?

From: Arjan van Bentem <avbentem_at_DONT-YOU-DARE-cable.a2000.nl>
Date: Wed, 15 Jul 1998 21:49:15 +0200
Message-ID: <6oj13q$75o$1@newton.a2000.nl>


>Is there a way to query the package to get this information? (I am
>running 7.3 if this matters.) Thanks in advance for any assistance.

The file handle is returned when you use file_open.

In general, there are two options:

    desc utl_file.get_line

or -- by head --

    select text
    from all_source
    where name = 'UTL_FILE'
    and type = 'PACKAGE'
    order by line;

If you're lucky, then even the source is available:

    and type = 'PACKAGE BODY'

I'll send you an example on using utl_file by e-mail. Note that in init.ora one or more lines like

    utl_file_dir = ...

should exist, for each and every directory and all of its subdirectory you wish to access (or utl_file_dir = * if you want to open up the whole system). Finally, user oracle should be able to access those directories.

Arjan. Received on Wed Jul 15 1998 - 14:49:15 CDT

Original text of this message

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