Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to export a package and a procedure

Re: How to export a package and a procedure

From: Syed Jaffar Hussain <sjaffarhussain_at_gmail.com>
Date: Mon, 16 Jul 2007 10:47:42 +0300
Message-ID: <97b7fd2f0707160047h6f9c52dof678849ab23952e9@mail.gmail.com>


Its very easy if you use DATAPUMPS.

Example:

expdp directory=<directory_name> dumpfile=<file.dmp> include=procedure/fuction schema=<schemaname>

The above command unloads all procedure/function from the schema into dumpfile.

And then create a sql file using the following:

impdp directory=<directory_name> dumpfile=<file.dmp> sqlfile=procedure.sql

On 7/14/07, nilesh kumar <nileshkum_at_gmail.com> wrote:
>
> Hello All,
>
> I have an issue i need to export a package and a procedure too which is
> present in another package , is there any solution for this in datapump or
> exp utility.Or is there any other solution for this to do pls help , i am
> using 9i and 10g both .
>
> Thanks
> Nilesh soni
>

-- 
Best Regards,
Syed Jaffar Hussain
Oracle ACE
8i,9i & 10g OCP DBA

http://jaffardba.blogspot.com/
http://www.oracle.com/technology/community/oracle_ace/ace1.html#hussain
----------------------------------------------------------------------------------
"Winners don't do different things. They do things differently."

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jul 16 2007 - 02:47:42 CDT

Original text of this message

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