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: Export/backup Stored Database Procedures

Re: Export/backup Stored Database Procedures

From: Arup Nanda <orarup_at_hotmail.com>
Date: Thu, 12 Feb 2004 22:59:11 -0500
Message-ID: <BAY12-DAV17Z21w3c040003315d@hotmail.com>


Or, if you are on Oracle 10g, you could use Data Pump Export to export at any granular level, including any specific names.

> If you are at 9i above you can use:
>
> SELECT DBMS_METADATA.GET_DDL('PROCEDURE',a.object_name,a.owner) FROM =
> dba_objects a
> WHERE OWNER =3D'SCHEMA_OWNER'
> AND object_TYPE =3D'PROCEDURE'
> ORDER BY owner
> /
>
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org
> [mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Michael Fontana
> Sent: Thursday, February 12, 2004 2:40 PM
> To: oracle-l_at_freelists.org
> Subject: Export/backup Stored Database Procedures
>
>
>
> What methods do most on this list use to back up stored database
> procedures?
>
> I am familiar with exporting the SYS user only, and importing to another
> staging database, and pulling the source code out of there, but I must
> admit, this involves several steps and is a relative "kludge".
>
> A DBA in our group, with Sybase and SQLServer experience, complains
> because Oracle does not have a method to single out such objects for
> backup.
>
>
>
> Michael Fontana
> Sr. DBA
> NTT/Verio
>
>
> ----------------------------------------------------------------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ----------------------------------------------------------------
> To unsubscribe send email to: oracle-l-request_at_freelists.org
> put 'unsubscribe' in the subject line.
> --
> Archives are at http://www.freelists.org/archives/oracle-l/
> FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
> -----------------------------------------------------------------
> ----------------------------------------------------------------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ----------------------------------------------------------------
> To unsubscribe send email to: oracle-l-request_at_freelists.org
> put 'unsubscribe' in the subject line.
> --
> Archives are at http://www.freelists.org/archives/oracle-l/
> FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
> -----------------------------------------------------------------
>



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Thu Feb 12 2004 - 21:59:11 CST

Original text of this message

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