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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is alternative to sp_help in oracle

Status
Not open for further replies.

2314

Programmer
May 19, 2001
69
IN
Hi
how can i see the text of my stored procedure in oracle in sql server i use sp_help but it does not work in oracle
 
Hi,
You can get your Stored Procedure & Functions's Text from view USER_SOURCE or DBA_SOURCE or ALL_SOURCE.

Code:
Select Text from user_source
where NAME ='MY_PROC';

HTH
Regards
Himanshu
 
Hi

I beleive sp_help can also be used on tables to describe the columns.

For procuedures use all_source

For table just desc <tname> in sqlplus


khobar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top