I execute a stored proc as follows:
var myOutput varchar2
exec myproc(:myOutput)
print myOutput
However, this does not work.
I get an error message saying:
Bind Variable "myOutput" is NOT DECLARED
When I use a refcurser rather than a varchar2 in other procs, this works. What am I doing wrong?
Thanks!
So you have a procedure like this:
Then you run:
Is this similiar to what you are trying to do?