Keep It Simple, Stupid | |
PerlMonks |
Re: Yet Another Stored Procedure Questionby one4k4 (Hermit) |
on Jun 24, 2003 at 14:27 UTC ( [id://268521]=note: print w/replies, xml ) | Need Help?? |
The replies above are great, but I wanted to show you some psuedo code for what I do when executing Stored Procs on Sybase. Mind you, this is untested and straight from the fingertips..
And in the SP, according to what it sounds like you're doing. The last select statement will be returned to the calling Perl code. And simply running select @var=42 might not do it.. so I used the @var as .. moniker. I don't now, maybe I'm misreading your post and if I am, let me know! :) I hope this helps. P.S. Why would binding an output value be used? Isn't "output value" really "whatever the SP returns.. list of employees, paychecks, candy bar names"? One4k4 - perlmonks@poorheart.com (www.poorheart.com)
In Section
Seekers of Perl Wisdom
|
|