Viewing stored proc code [message #326628] |
Thu, 12 June 2008 02:23 |
smora
Messages: 59 Registered: May 2006
|
Member |
|
|
Hi
I currently view stored proc code using SQLPlus, with the command 'select text from user_source where name = 'SP_NAME'';
This is unformatted and hard to read and edit. Is there a better way to view the code?
Thanks in advance
SM
|
|
|
Re: Viewing stored proc code [message #326635 is a reply to message #326628] |
Thu, 12 June 2008 02:30 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
This should return formatted text.
The database-source should never be the source you edit. The idea is that you store the source outside the database, edit that, and then compile it into the db.
|
|
|
|
|