原帖由 herolyh 于 2007-2-7 19:45 發(fā)表
my $sth=$dbh->prepare("call key_price_reset('$tmpkey','$update');
");
$sth->execute();
$sth->finish();
執(zhí)行結(jié)果:
[Wed Feb 7 19:42:48 2007] first1.cgi: DBD::Oracle::st execu ...
原帖由 herolyh 于 2007-2-8 19:05 發(fā)表
my $sth=$dbh->prepare("BEGIN key_price_reset(?,?);END;"
$sth->bind_param( 1,$key);
$sth->bind_param_inout( 2, \$update, 1000 );
$sth->execute();
這樣就可以了,不明白!問(wèn) ...
歡迎光臨 Chinaunix (http://www.72891.cn/) | Powered by Discuz! X3.2 |