In the loop:$sql_net="UPDATE today_records SET current_prem= ? WHERE account_num= ? AND type='OK'"; my $sth2 = $dbh_2->prepare($sql_net);
Update: Changed name of $sth, since previous version is still in scope.$sth2->execute(CONVERT(money, '$ABC7'),'$ABC2') || die $sth2-> +errstr;
In reply to Re^3: Perl Code Efficiency Issue
by cdarke
in thread Perl Code Efficiency Issue
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |