Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thanks!# at this point connection to the DB is ready ... my $input='12345'; my $sth = $dbh->prepare('CALL ZIPCODES('.$dbh->quote($input).')') or d +ie $dbh -> errstr; $sth->execute() || die $sth->errstr; while( my @row = $sth->fetchrow_array ) { print $row[0]." ",$row[1]." ",$row[2]."\n"; } $sth->finish();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to get results back from SQL Stored Procedure using Perl
by roboticus (Chancellor) on Apr 03, 2012 at 19:46 UTC | |
|
Re: How to get results back from SQL Stored Procedure using Perl
by JavaFan (Canon) on Apr 03, 2012 at 20:35 UTC | |
by Anonymous Monk on Apr 03, 2012 at 21:27 UTC | |
by roboticus (Chancellor) on Apr 03, 2012 at 23:30 UTC |