Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

DBI place holder for sub query problem

by Anonymous Monk
on Jan 02, 2008 at 16:29 UTC ( #659996=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $sth=$dbh->prepare("Update Customers set RESULTS =('?') where rec_no=?
    +");
    foreach my $row ( @rows ) {
        $sth->execute($row->{'SQL'},$row->{'REC_NO'})  or die $dbh->errstr
    +;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://659996]
Approved by jettero
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2017-10-21 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (269 votes). Check out past polls.

    Notices?