Home » Infrastructure » Windows » how to execute oracle procedure with out parameter
how to execute oracle procedure with out parameter [message #99794] Thu, 04 April 2002 10:02 Go to next message
Galina
Messages: 3
Registered: April 2002
Junior Member
I'm trying to execute oracle procedure expecting to return for example number. Procedure doesn't expect any IN parameter, so why I just calling my procedure. I'm getting an error: Wrong number of arguments? What I'm doing wrong. Any suggestions are welcome. Thanks.
Re: how to execute oracle procedure with out parameter [message #99795 is a reply to message #99794] Thu, 04 April 2002 10:08 Go to previous messageGo to next message
saleem
Messages: 65
Registered: January 2002
Member
if it's a procedure you are calling (e.g. procedure_name(variable out number) ) then the appropriate call to this procedure is :
procedure_name(return_variable);

if it's a function you are calling then :
return_variable := function_name;

however, based on the fact that the error is complaining about the # of arguments being passed, my guess is that this is the first situation i outlined.
Re: how to execute oracle procedure with out parameter [message #100317 is a reply to message #99794] Thu, 10 October 2002 21:09 Go to previous messageGo to next message
Sudheer
Messages: 19
Registered: July 1999
Junior Member
Hi galina,

before exititng out of your sub programme explicitly assign value to all theout variables.

then write an anonymous block,where you decalre a variable of the datatyep you have given in the procedure and pass this variable.You would get the output value into this variable.

Hope this works for u.
Sudheer.
IN OUT Parameters to Stored Procedure [message #100892 is a reply to message #99794] Sun, 08 February 2004 18:31 Go to previous messageGo to next message
elangovan
Messages: 1
Registered: February 2004
Junior Member
how to execute oracle procedure with - IN OUT parameter
Re: how to execute oracle procedure with out parameter [message #100897 is a reply to message #99794] Tue, 10 February 2004 20:48 Go to previous messageGo to next message
sri
Messages: 154
Registered: February 2000
Senior Member
get me data on execute command of oracle. i want to know how to get the out params and how to pss the in params while executing the procedure
Re: how to execute oracle procedure with out parameter [message #100913 is a reply to message #100897] Fri, 13 February 2004 23:39 Go to previous message
dineshbabu
Messages: 1
Registered: February 2004
Junior Member
how to execute oracle procedure with out parameter
Previous Topic: what is the hardware req to install oracle9i?
Next Topic: Oracle hangs whil installing on windows Xp
Goto Forum:
  


Current Time: Fri Nov 22 13:23:53 CST 2024