471,083 Members | 1,151 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,083 software developers and data experts.

viewing Stored Procedure Definition in SQL prompt

Hi,

i would like to know the prcedure for viewing Stored Procedure
Definition in SQL prompt. can anybody help me?

thanxs & bye
Jul 19 '05 #1
1 18916
On Wed, 03 Sep 2003 01:49:03 -0700, Siva wrote:
Hi,

i would like to know the prcedure for viewing Stored Procedure
Definition in SQL prompt. can anybody help me?

thanxs & bye


SELECT
I.text
FROM
all_source I
WHERE I.type='PROCEDURE'
AND I.name='YOUR_PROCEDURE_NAME'
AND I.owner='SCHEMA_OWNER'
ORDER BY
I.line

You can get the source for FUNCTION, PACKAGE and PACKAGE BODY by changing
type = 'xx'

- Babu
http://vsbabu.org/
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jagger | last post: by
reply views Thread by Frank Swarbrick | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.