• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

View Stored Procedure

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everybody,
I am working with some Oracle stuff now. I cam across some stored procedures in Oracle.Is there a way to see the stored procedure meaning, the functionality of the procedure from SQL Plus and also how do I edit the stored procedure.Looking for help from the rachers?
Thanks in advance,
Prabha
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure how you would see the code from SQLPlus, except to query the DBA_ or V$ tables.
But if you had Toad, then you can see them really easily. And Toad queries those views. I think it might be v$procedure or something along those lines. The exact name I don't know off the top of my head. Sorry.
Mark
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oracle's Enterprise Manager Console also does a nice job of displaying stored procedures. It shows the code (PL/SQL, Java), allows you to edit the code, or recompile it if necessary, export Java classes, plus much more. IMHO, it is not a quick as TOAD, but it does give you another alternative.
- John
 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the following query will display the code.
select text from user_source where name='PROCEDURENAME'
Beksy
 
I am going to test your electrical conductivity with this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic