Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
and called it from perl like thisCREATE PROC sp_proc1 @param int OUTPUT AS SELECT @param = 1 RETURN 0
I get this error:my $param = 0; $sql_obj->sql("EXEC sp_proc1 \@param = '$param' OUTPUT");
I understand why I get the error. Is there any way I can pass a variable so I get the value in the OUTPUT parameter in Perl? Is it even possible?
Much thanks if you can help me out.
Edit by dws to add tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: stored proc output params
by rdfield (Priest) on Nov 16, 2002 at 15:40 UTC | |
by Anonymous Monk on Nov 18, 2002 at 17:06 UTC | |
by rdfield (Priest) on Nov 19, 2002 at 08:36 UTC |