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: get body of stored procedures and functions?

Re: get body of stored procedures and functions?

From: DA Morgan <damorgan_at_psoug.org>
Date: Wed, 15 Aug 2007 08:26:56 -0700
Message-ID: <1187191614.447549@bubbleator.drizzle.com>


Mark Harrison wrote:
> How can I get the body of stored procedures and functions?
> I would like to extract some documentation embedded in
> the comments.
>
> Many TIA!
> Mark

SELECT dbms_metadata.get_ddl('PROCEDURE', '<proc_name'>); http://www.psoug.org/reference/dbms_metadata.html

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Wed Aug 15 2007 - 10:26:56 CDT

Original text of this message

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