Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 12th, 2006, 07:34 AM
russray russray is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 5 russray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 32 sec
Reputation Power: 0
MetaData for Oracle Store Procedure

I am working with several databases MySQL, SQL Server, Oracle) that possess their own store procedures. In SQL Server, I can use a system store procedure (sp_help) and obtain all the meta data concerning a specific store procedure, such as parameter names, type, length, order, etc. In MySQL, there is a table called proc with like information.

Here is my question: Does oracle have a system store procedure or table where I can gain meta data information involving a store procedure?

Thanks in advance for reading my post.

Russ

Reply With Quote
  #2  
Old April 12th, 2006, 08:06 AM
shammat shammat is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2003
Location: Munich, Bavaria
Posts: 1,038 shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 5 h 25 m 37 sec
Reputation Power: 68
Have a look at the Oracle reference:

http://oraclesvca2.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_ddl.htm#1000985
and
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch2109.htm#1299488
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch2124.htm#1300946

Reply With Quote
  #3  
Old April 12th, 2006, 12:01 PM
russray russray is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 5 russray User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 32 sec
Reputation Power: 0
Okay I looked at the links.

What I see is the below store procedure:

ALL_PROCEDURES, ALL_SOURCE.

What I am missing is information concerning the parameters for the store procedures, such as type, order, and name.

Any hints?

Russ

Reply With Quote
  #4  
Old April 13th, 2006, 03:07 AM
shammat shammat is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2003
Location: Munich, Bavaria
Posts: 1,038 shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 5 h 25 m 37 sec
Reputation Power: 68
Actually the first link should be:
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_metad2.htm
sorry for the confusion.

This package will (re-)create the full SQL for a procedure (or table, or view, ...)

Concerning the the procedure parameters, I think this is stored in the view all_arguments.

http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch210.htm#1289073

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > MetaData for Oracle Store Procedure


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT