Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Batch Upload/Insert – Row wise with Perl DBI

by morgon (Curate)
on Sep 27, 2011 at 16:18 UTC ( #928114=note: print w/replies, xml ) Need Help??


in reply to Batch Upload/Insert – Row wise with Perl DBI

$sth = $dbh->prepare(“insert into table values (?, ?, ?)”); for my $i (0..2) { # adjust the upper limit accordingly $sth->execute($array1[$i], $array2[$i], $array3[$i]); }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928114]
help
Chatterbox?
and the voices are still...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2017-06-24 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (558 votes). Check out past polls.