?
Solved

Oracle database programming

Posted on 2004-11-08
3
Medium Priority
?
238 Views
Last Modified: 2012-05-05
How can I view a storedprocedure in oracle?

We can view storedprocedure in SQL server as sp_helptext <ProcName>.

Is there is any option in Oracle something like this?

Plz help me.
0
Comment
Question by:e_senthil
1 Comment
 
LVL 2

Accepted Solution

by:
tpanar earned 200 total points
ID: 12524203
There are two data dictionary tables, USER_SOURCE|DBA_SOURCE, which store the text of any stored procedure/function/package.

IE. Issue the following command in SQL*Plus (after you connect to the instance)...
SELECT text
   FROM user_source
 WHERE name = <ProcName>
ORDER BY line
/

Regards,
-Tammie
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Six Sigma Control Plans

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question