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: Fastest way to export stored procedures, triggers & packages to text file

Re: Fastest way to export stored procedures, triggers & packages to text file

From: <Kenneth>
Date: Fri, 05 Sep 2003 15:27:56 GMT
Message-ID: <3f58a9ea.2337170@news.inet.tele.dk>


On 5 Sep 2003 08:16:31 -0700, flyingbuick_at_yahoo.com (Joe Yong) wrote:

>Hi all,
>Does anyone have recommendations on the fastest way to export stored
>procedures, triggers & packages to text file? We inherited an old
>8.1.7 box and would like to do some analysis offline.
>
>Thanks.

Hi Joe,

select text
from DBA_SOURCE
order by owner, type,name,line;

Spool it via sql*plus or utl_file to a file.

Same with triggers and DBA_TRIGGERS.

Received on Fri Sep 05 2003 - 10:27:56 CDT

Original text of this message

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