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: Iterating through SPs/Packages and writing to external .txt file?

Re: Iterating through SPs/Packages and writing to external .txt file?

From: Ana C. Dent <anacedent_at_hotmail.com>
Date: Mon, 15 Dec 2003 17:30:12 -0800
Message-ID: <BetDb.19857$BQ5.6241@fed1read03>


(Pete Cresswell) wrote:
> I'd like to be able to pull all the stored procedures and packages out of an
> Oracle DB and write them to a plain old text file.
>
> I'm guessing there's some way to iterate through various DB objects.
> Is there some way to do file I/O from SQL...or am I on the wrong track?

For 9i DBs look at DBMS_METADATA
Other wise you are stuck doing some PL/SQL coding. Received on Mon Dec 15 2003 - 19:30:12 CST

Original text of this message

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