in reply to Perl-SQL-ADO-Stored proedures
I've never heard of the bind_param_inout method. Perhaps just try passing $y to your execute?
If 'execute' has problems with that, or it complains about your bind values, just shove it all into the same SQL statement:$sth = $dbh->prepare("execute sp_test_1 ?"); $sth->execute($y) or die "execute: $!";
Of course, this is assuming that your SQL syntax is valid (which you seem to indicate it the case). I've never seen an 'execute' keyword used in SQL like that before, but my experience is not with ADO.$dbh->do("execute sp_test_1 '$y'"); # or $sth = $dbh->prepare("execute sp_test_1 '$y'"); $sth->execute;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Perl-SQL-ADO-Stored proedures
by extremely (Priest) on Nov 11, 2000 at 03:37 UTC |