Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding and edit stored procedure

Status
Not open for further replies.

h3nd

Programmer
Jul 1, 2006
147
AU
Hi guys,

My DBA is on holiday, so I need to do simple edit for my store procedure in oracle.

So how do I search the "particular store proc" in oracle and open to edit it.

Much appreciated guys...
 
You can't directly. Unless you can find the original source file you'll need to query the user_source object and get the source out into a file (via spool perhaps), then edit that source file and re-apply to the database
 
It depends whether you've got tools like TOAD or PL/SQL Developer. With those, you can edit the package and compile it in a window. However, it would be a good idea to make a backup of the procedure first.
 
what about only to view it ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top