MySQL Forums
Forum List  »  Perl

Re: HOW TO RETRIEVE AN "OUT" PARAMETER OF MYSQL STORED PROCEDURE IN PERL
Posted by: Jim Winstead
Date: July 27, 2006 01:29PM

You need to use a user variable to store the value of the OUT parameter, and then issue a SELECT to get the value. Something like this:
$dbh->do("CALL mysp(@out)");
($out)= $dbh->selectrow_array("SELECT @out");

Jim Winstead
MySQL/Sun

Options: ReplyQuote


Subject
Written By
Posted
Re: HOW TO RETRIEVE AN "OUT" PARAMETER OF MYSQL STORED PROCEDURE IN PERL
July 27, 2006 01:29PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.