dbTalk Databases Forums  

stored procedure signature?

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss stored procedure signature? in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
chess hazlett
 
Posts: n/a

Default stored procedure signature? - 07-08-2003 , 01:46 PM






I'm trying to call a stored procedure via sqlplus, and keep getting a
"wrong number of types or arguments in call" error. I've been up and down
this call, and the thing matches the information I've been given, but I'm
not certain that what I've been given is accurate.

Is there any way to see the description of a stored procedure (essentially
what parameters it takes and returns is all I need) ?

Thanks.
- chess hazlett

Reply With Quote
  #2  
Old   
Sybrand Bakker
 
Posts: n/a

Default Re: stored procedure signature? - 07-08-2003 , 03:42 PM






On Tue, 08 Jul 2003 18:46:08 GMT, chess hazlett
<puneyrf_f_unmyrgg (AT) enlgurba (DOT) pbz> wrote:

Quote:
I'm trying to call a stored procedure via sqlplus, and keep getting a
"wrong number of types or arguments in call" error. I've been up and down
this call, and the thing matches the information I've been given, but I'm
not certain that what I've been given is accurate.

Is there any way to see the description of a stored procedure (essentially
what parameters it takes and returns is all I need) ?

Thanks.
- chess hazlett
Check out user|all|dba_arguments


Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address


Reply With Quote
  #3  
Old   
chess hazlett
 
Posts: n/a

Default Re: stored procedure signature? - 07-08-2003 , 06:25 PM



Quote:
Check out user|all|dba_arguments
Thanks, Sybrand. That's exactly what I needed.



-chess hazlett


Reply With Quote
  #4  
Old   
Mark D Powell
 
Posts: n/a

Default Re: stored procedure signature? - 07-09-2003 , 08:36 AM



Sybrand Bakker <gooiditweg (AT) sybrandb (DOT) demon.nl> wrote

Quote:
On Tue, 08 Jul 2003 18:46:08 GMT, chess hazlett
puneyrf_f_unmyrgg (AT) enlgurba (DOT) pbz> wrote:

I'm trying to call a stored procedure via sqlplus, and keep getting a
"wrong number of types or arguments in call" error. I've been up and down
this call, and the thing matches the information I've been given, but I'm
not certain that what I've been given is accurate.

Is there any way to see the description of a stored procedure (essentially
what parameters it takes and returns is all I need) ?

Thanks.
- chess hazlett

Check out user|all|dba_arguments


Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address
Chess, in SQLPLus, you can also just describe a procedure to see the argument list:

UT1> desc trace_sql
PROCEDURE trace_sql
Argument Name Type In/Out Default?
------------------------------ ----------------------- ------ --------
V_SESSION VARCHAR2 IN
V_SERIAL VARCHAR2 IN
V_SWITCH VARCHAR2 IN DEFAULT

Or you can query the all_ or user_arguments views as Sybrand mentioned.

HTH -- Mark D Powell --


Reply With Quote
  #5  
Old   
chess hazlett
 
Posts: n/a

Default Re: stored procedure signature? - 07-09-2003 , 10:24 AM



Mark.Powell (AT) eds (DOT) com (Mark D Powell) wrote in
news:2687bb95.0307090536.59173c33 (AT) posting (DOT) google.com:

Quote:
Chess, in SQLPLus, you can also just describe a procedure to see the
argument list:

UT1> desc trace_sql
Actually, that was the first thing I tried. I received an "object does not
exist" error.

Anyway, it's good to know that desc is at least *supposed* to work...

Thanks, Mark!


Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.