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: Need scripts for db objects for a database

Re: Need scripts for db objects for a database

From: DA Morgan <damorgan_at_psoug.org>
Date: Thu, 05 Oct 2006 09:18:14 -0700
Message-ID: <1160065092.179020@bubbleator.drizzle.com>


anindya wrote:
> Hi,
>
> I am using Oracle 9i in my project. I want to get all the database
> object scripts for a particular database. What would be best way to do
> it?
>
> Thanks,
> anindya

What do you mean by "get all the ... scripts"? Do you mean create scripts to rebuild the schemas or gather up every perl and shell script littering the operating system disks?

Your intent is less than clear.

If create scripts then as Michel recommends ... use the pipelined table function DBMS_METADATA.GET_DDL. You will find a tutorial demo in Morgan's Library at www.psoug.org.

-- 
Daniel Morgan
Puget Sound Oracle Users Group
Received on Thu Oct 05 2006 - 11:18:14 CDT

Original text of this message

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