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: How to export a PLSQL Package on ascii file??

Re: How to export a PLSQL Package on ascii file??

From: Piotr Kolodziej <pkol_at_otago.gda.pl>
Date: Mon, 15 Jun 1998 16:37:23 +0200
Message-ID: <6m3bla$hn1$1@sunrise.pg.gda.pl>


Pierre wrote in message <2cah1.1043$8F2.3188064_at_news21.bellglobal.com>...
>
>Brevet-Lepreux wrote in message <01bd986d$d38703a0$010b17ac_at_mbl>...
>>I need a script to export a package and package body into an ascii file.
>>
>
>Hi,
> Simple.
>
> Set head off feedb off lines 254
> spool pck.lis
> select text from user_source where name='<PACKAGE NAME>';
> spool off
>

And don't forget about
1. ... and TYPE='PACKAGE BODY' in where clause (for package body

   or TYPE='PACKAGE' for package specification). 2 'order by line' after where clause !!!!

Piotr
--
 Piotr Kolodziej
 <pkol_at_otago.gda.pl>

Received on Mon Jun 15 1998 - 09:37:23 CDT

Original text of this message

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