in reply to calling a stored procedure using DBI.pm
Cuz I've done that a million times on Sybase without any problems. Also, check $sth->rows.... my $sth = $dbh->prepare($StoredProcedureSQL); if(!$sth->execute(@args)) { print "Met with error: ", $sth->errstr, "\n"; # exit / die / croak / return / next / last } while ( my $row = $sth->fetchrow_arrayref ) { ... } ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: calling a stored procedure using DBI.pm
by aroc725 (Acolyte) on Apr 12, 2006 at 20:28 UTC | |
by runrig (Abbot) on Apr 12, 2006 at 23:05 UTC | |
by roboticus (Chancellor) on Apr 12, 2006 at 23:47 UTC | |
by mpeppler (Vicar) on Apr 13, 2006 at 19:19 UTC |