Look at user_source (or all_source if the procedure is in a different schema).
Then 
select text from user_source where name = 'YOURPROCNAME';



>>> [EMAIL PROTECTED] 03/05/03 07:34AM >>>
Hi.

i need some help. i'm trying to get a stored  procedure source code from 
the database.

After a lot of reding i found :

select * from user_objects where object_type='PROCEDURE';

and i've got the name and Object_id of that prodedure but i have no 
ideea how to get the rest :(


please help,

adrian


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net 
-- 
Author: Adrian Ciocildau
  INET: [EMAIL PROTECTED] 

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com 
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Darrell Landrum
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to